Automation fix for VMI menu
Changes:
- Increased delay time
Tested:
- Ran successfully test_vmi.robot
Change-Id: I020db2b113a1c95dd94ef7d15bb2084617cc589a
Signed-off-by: Megha G N <Megha.G.N@ibm.com>
diff --git a/lib/external_intf/vmi_utils.robot b/lib/external_intf/vmi_utils.robot
index 4dac55c..7532b3d 100644
--- a/lib/external_intf/vmi_utils.robot
+++ b/lib/external_intf/vmi_utils.robot
@@ -17,7 +17,7 @@
&{ENABLE_DHCP} DHCPv4=&{DHCP_ENABLED}
&{DISABLE_DHCP} DHCPv4=&{DHCP_DISABLED}
-${wait_time} 10s
+${wait_time} 40s
${ethernet_interface} eth0
*** Keywords ***
@@ -111,6 +111,7 @@
... /redfish/v1/Systems/hypervisor/EthernetInterfaces/${interface}
Should Be Equal ${resp.dict["DHCPv4"]["DHCPEnabled"]} ${dhcp_enabled}
+
Get VMI Network Interface Details
[Documentation] Get VMI network interface details.
[Arguments] ${interface}=${ethernet_interface} ${valid_status_code}=${HTTP_OK}
diff --git a/openpower/ext_interfaces/test_vmi.robot b/openpower/ext_interfaces/test_vmi.robot
index 5e2e9be..dbc41d8 100644
--- a/openpower/ext_interfaces/test_vmi.robot
+++ b/openpower/ext_interfaces/test_vmi.robot
@@ -27,7 +27,6 @@
&{ENABLE_DHCP} DHCPv4=&{DHCP_ENABLED}
&{DISABLE_DHCP} DHCPv4=&{DHCP_DISABLED}
-${wait_time} 10s
${default} 0.0.0.0
@@ -52,8 +51,6 @@
Should Be Equal As Strings ${vmi_ip["Description"]}
... Hypervisor's Virtual Management Ethernet Interface
Should Be Equal As Strings ${vmi_ip["Name"]} Hypervisor Ethernet Interface
- Run Keyword If '${vmi_ip["IPv4_Address"]}' != '${default}'
- ... Should Be True ${vmi_ip["InterfaceEnabled"]}
Run Keyword If ${vmi_ip["IPv4StaticAddresses"]} != @{empty}
... Verify VMI Network Interface Details ${vmi_ip["IPv4_Address"]}
... ${origin} ${vmi_ip["IPv4_Gateway"]} ${vmi_ip["IPv4_SubnetMask"]}