[VOL-3400] Enhance error test
Change-Id: I454d1e3b3a7807e50c76c78b78c2fd560e9e2c69
diff --git a/tests/functional/Voltha_ErrorScenarios.robot b/tests/functional/Voltha_ErrorScenarios.robot
index 8595db8..ca06c8f 100644
--- a/tests/functional/Voltha_ErrorScenarios.robot
+++ b/tests/functional/Voltha_ErrorScenarios.robot
@@ -67,6 +67,9 @@
#setup
Delete All Devices and Verify
Run Keyword and Ignore Error Collect Logs
+ # Wait for the OLT to be reachable
+ Run Keyword If ${has_dataplane} Wait Until Keyword Succeeds 120s 10s
+ ... Check Remote System Reachability True ${olt_ssh_ip}
${olt_device_id}= Create Device ${olt_ip} ${OLT_PORT}
Set Suite Variable ${olt_device_id}
Wait Until Keyword Succeeds ${timeout} 5s Validate OLT Device PREPROVISIONED UNKNOWN UNKNOWN