VOL-3180 Handle when OLT is temporarily offline
Change-Id: I72d00b9d63d2a9f5446e482c199647751c5a534f
diff --git a/libraries/utils.robot b/libraries/utils.robot
index 6abfdf4..3dd0e5e 100644
--- a/libraries/utils.robot
+++ b/libraries/utils.robot
@@ -405,9 +405,11 @@
Echo Message to OLT Logs
[Arguments] ${message}
[Documentation] Echoes ${message} into the OLT logs
- Execute Remote Command printf '%s\n' '' '' '${message}' '' >> /var/log/openolt.log
+ Wait Until Keyword Succeeds 60s 2s Execute Remote Command
+ ... printf '%s\n' '' '' '${message}' '' >> /var/log/openolt.log
... ${olt_ip} ${olt_user} ${olt_pass}
- Execute Remote Command printf '%s\n' '' '' '${message}' '' >> /var/log/dev_mgmt_daemon.log
+ Wait Until Keyword Succeeds 60s 2s Execute Remote Command
+ ... printf '%s\n' '' '' '${message}' '' >> /var/log/dev_mgmt_daemon.log
... ${olt_ip} ${olt_user} ${olt_pass}
Start Logging