[VOL-3717] sudo is not required for OLT reboot
Change-Id: I45ec806a342ff0e1fe28baa697612a70b30a2c2f
diff --git a/tests/dt-workflow/Voltha_DT_FailureScenarios.robot b/tests/dt-workflow/Voltha_DT_FailureScenarios.robot
index 56c66f4..52982f5 100755
--- a/tests/dt-workflow/Voltha_DT_FailureScenarios.robot
+++ b/tests/dt-workflow/Voltha_DT_FailureScenarios.robot
@@ -144,7 +144,7 @@
${olt_serial_number}= Get From Dictionary ${list_olts}[${I}] sn
${olt_device_id}= Get OLTDeviceID From OLT List ${olt_serial_number}
Run Keyword If ${has_dataplane} Login And Run Command On Remote System
- ... sudo reboot ${olt_ssh_ip} ${olt_user} ${olt_pass} prompt=#
+ ... reboot ${olt_ssh_ip} ${olt_user} ${olt_pass} prompt=#
Run Keyword And Ignore Error Collect Logs
END
FOR ${I} IN RANGE 0 ${num_all_onus}
diff --git a/tests/dt-workflow/Voltha_DT_MultiOLT_Tests.robot b/tests/dt-workflow/Voltha_DT_MultiOLT_Tests.robot
index 408ec42..497aa9e 100644
--- a/tests/dt-workflow/Voltha_DT_MultiOLT_Tests.robot
+++ b/tests/dt-workflow/Voltha_DT_MultiOLT_Tests.robot
@@ -81,7 +81,7 @@
${olt_serial_number}= Get From Dictionary ${list_olts}[0] sn
${olt_device_id}= Get OLTDeviceID From OLT List ${olt_serial_number}
Run Keyword If ${has_dataplane} Login And Run Command On Remote System
- ... sudo reboot ${olt_ssh_ip} ${olt_user} ${olt_pass} prompt=#
+ ... reboot ${olt_ssh_ip} ${olt_user} ${olt_pass} prompt=#
# validate that the ONUs on the other OLTs are still functional
Verify ping is successful for ONUs not on this OLT ${num_all_onus} ${olt_device_id}
Run Keyword And Ignore Error Collect Logs
diff --git a/tests/functional/Voltha_FailureScenarios.robot b/tests/functional/Voltha_FailureScenarios.robot
index 9889db8..027fd3b 100644
--- a/tests/functional/Voltha_FailureScenarios.robot
+++ b/tests/functional/Voltha_FailureScenarios.robot
@@ -155,7 +155,7 @@
${olt_serial_number}= Get From Dictionary ${list_olts}[${I}] sn
${olt_device_id}= Get OLTDeviceID From OLT List ${olt_serial_number}
Run Keyword If ${has_dataplane} Login And Run Command On Remote System
- ... sudo reboot ${olt_ssh_ip} ${olt_user} ${olt_pass} prompt=#
+ ... reboot ${olt_ssh_ip} ${olt_user} ${olt_pass} prompt=#
END
Run Keyword And Ignore Error Collect Logs
FOR ${I} IN RANGE 0 ${num_all_onus}
diff --git a/tests/functional/Voltha_MultiOLT_Tests.robot b/tests/functional/Voltha_MultiOLT_Tests.robot
index 90ccadd..37b3f36 100644
--- a/tests/functional/Voltha_MultiOLT_Tests.robot
+++ b/tests/functional/Voltha_MultiOLT_Tests.robot
@@ -80,7 +80,7 @@
${olt_serial_number}= Get From Dictionary ${list_olts}[0] sn
${olt_device_id}= Get OLTDeviceID From OLT List ${olt_serial_number}
Run Keyword If ${has_dataplane} Login And Run Command On Remote System
- ... sudo reboot ${olt_ssh_ip} ${olt_user} ${olt_pass} prompt=#
+ ... reboot ${olt_ssh_ip} ${olt_user} ${olt_pass} prompt=#
# validate that the ONUs on the other OLTs are still functional
Verify ping is successful for ONUs not on this OLT ${num_all_onus} ${olt_device_id}
Run Keyword And Ignore Error Collect Logs