Fix DNS configuration issue.
Signed-off-by: Prashanth Katti <prkatti1@in.ibm.com>
Change-Id: Ib112e13f3603aa4739435a6ccc216efb5347f5b0
diff --git a/redfish/managers/test_bmc_network_conf.robot b/redfish/managers/test_bmc_network_conf.robot
index 7c54192..fd8e4f1 100644
--- a/redfish/managers/test_bmc_network_conf.robot
+++ b/redfish/managers/test_bmc_network_conf.robot
@@ -688,6 +688,9 @@
Redfish.Patch ${REDFISH_NW_ETH0_URI} body={'StaticNameServers': ${static_name_servers}}
... valid_status_codes=[${valid_status_codes}, ${HTTP_INTERNAL_SERVER_ERROR}]
+ # Patch operation takes 1 to 3 seconds to set new value.
+ Sleep 3s
+
# Check if newly added DNS server is configured on BMC.
${cli_nameservers}= CLI Get Nameservers
${cmd_status}= Run Keyword And Return Status