improve parallel soft reboot of multiple onus
Change-Id: Ib41fdd333b1a37af9a9c3641f1aabb79a1c28672
diff --git a/tests/openonu-go-adapter/Voltha_ONUStateTests.robot b/tests/openonu-go-adapter/Voltha_ONUStateTests.robot
index cbd5776..e78b516 100755
--- a/tests/openonu-go-adapter/Voltha_ONUStateTests.robot
+++ b/tests/openonu-go-adapter/Voltha_ONUStateTests.robot
@@ -476,11 +476,13 @@
Do Soft Reboot Onu Device
[Documentation] This keyword reboots softly all onus and checks the states.
+ ${device_list}= Set Variable ${EMPTY}
FOR ${I} IN RANGE 0 ${num_all_onus}
${src}= Set Variable ${hosts.src[${I}]}
${onu_device_id}= Get Device ID From SN ${src['onu']}
- Reboot ONU ${onu_device_id} False
+ ${device_list}= Catenate ${device_list} ${onu_device_id}
END
+ Reboot ONU ${device_list} False
${alternativeonustates}= Create List stopping-openomci
Current State Test All Onus omci-flows-deleted
... ENABLED DISCOVERED UNREACHABLE alternativeonustate=${alternativeonustates}