[VOL-4267] Re-enabled RestartOpenOnuPingDt and RestartOpenOltPingDt scenarios with some modifications
Change-Id: Ie6098140524c3d2f5a9c9720e743b47d7824c480
diff --git a/libraries/utils.robot b/libraries/utils.robot
index 1c3b9ae..adcd9b2 100755
--- a/libraries/utils.robot
+++ b/libraries/utils.robot
@@ -1337,7 +1337,7 @@
... ${container_type}=${None} ${container_name}=${None}
[Documentation] Runs the 'ping' on remote system in background and stores the result in a file
${result}= Login And Run Command On Remote System
- ... ping -I ${iface} ${dst_ip} > ${output_file} &
+ ... echo "ping -I ${iface} ${dst_ip} > ${output_file} &" > ping.sh; chmod +x ping.sh; ./ping.sh
... ${ip} ${user} ${pass} ${container_type} ${container_name}
Log ${result}
diff --git a/tests/dt-workflow/Voltha_DT_FailureScenarios.robot b/tests/dt-workflow/Voltha_DT_FailureScenarios.robot
index 5233544..4f9ce58 100755
--- a/tests/dt-workflow/Voltha_DT_FailureScenarios.robot
+++ b/tests/dt-workflow/Voltha_DT_FailureScenarios.robot
@@ -562,7 +562,7 @@
[Documentation] Restart openonu-adapter container after VOLTHA is operational.
... Run the ping continuously in background during container restart,
... and verify that there should be no affect on the dataplane.
- [Tags] functionalDt RestartOpenOnuPingDt non-critical notready
+ [Tags] functionalDt RestartOpenOnuPingDt non-critical
[Setup] Start Logging RestartOpenOnuPingDt
[Teardown] Run Keywords Run Keyword If ${logging} Collect Logs
... AND Stop Logging RestartOpenOnuPingDt
@@ -615,7 +615,7 @@
[Documentation] Restart openolt-adapter container after VOLTHA is operational.
... Run the ping continuously in background during container restart,
... and verify that there should be no affect on the dataplane.
- [Tags] functionalDt RestartOpenOltPingDt non-critical notready
+ [Tags] functionalDt RestartOpenOltPingDt non-critical
[Setup] Start Logging RestartOpenOltPingDt
[Teardown] Run Keywords Run Keyword If ${logging} Collect Logs
... AND Stop Logging RestartOpenOltPingDt