Fix watchdog reset wait for object create.

Change-Id: I0e4859f6df41ae3483b52b82860f918d93b74d5b
Signed-off-by: George Keishing <gkeishin@in.ibm.com>
diff --git a/extended/test_watchdog.robot b/extended/test_watchdog.robot
index 5cfe17a..6090c16 100644
--- a/extended/test_watchdog.robot
+++ b/extended/test_watchdog.robot
@@ -41,6 +41,8 @@
 
     Trigger Host Watchdog Error  2000  60
 
+    Wait Until Keyword Succeeds  3 min  10 sec  Watchdog Object Should Exist
+
     # Verify if watchdog settings are enabled and timeremaining is reduced.
     ${properties}=  Read Properties  /xyz/openbmc_project/watchdog/host0
     Should Be Equal As Strings  ${properties["Enabled"]}  1
@@ -129,3 +131,12 @@
     ${resp}=  OpenBMC Put Request  ${HOST_WATCHDOG_URI}/attr/${setting_name}
     ...       data=${valueDict}
     Should Be Equal As Strings  ${resp.status_code}  ${HTTP_OK}
+
+
+Watchdog Object Should Exist
+    [Documentation]  Check if watchdog object exist.
+
+    ${resp}=  OpenBMC Get Request  ${WATCHDOG_URI}host0  timeout=${timeout}
+    ...  quiet=${quiet}
+    Should Be Equal As Strings  ${resp.status_code}  ${HTTP_OK}
+