Fixed the tar-setup scenario to secure ssh in parallel.
Change-Id: I3b70d9c56f0d3a65ab676a26cd2f56934650e544
diff --git a/tools/test/scenarios/tar-setup.xml b/tools/test/scenarios/tar-setup.xml
index f51a0e0..6611663 100644
--- a/tools/test/scenarios/tar-setup.xml
+++ b/tools/test/scenarios/tar-setup.xml
@@ -16,7 +16,6 @@
<scenario name="tar-setup" description="ONOS cluster setup via onos.tar.gz">
<group name="Setup-Instances">
<step name="Push-Bits" exec="onos-push-bits-through-proxy" if="${OCT}"/>
- <step name="Secure-SSH" exec="onos-secure-ssh -u ${ONOS_WEB_USER} -p ${ONOS_WEB_PASS}"/>
<parallel var="${OC#}">
<step name="Push-Bits-${#}" exec="onos-push-bits ${OC#}" unless="${OCT}"/>
@@ -26,18 +25,19 @@
<step name="Untar-And-Run-${#}" exec="onos-untar-and-run ${OC#}"
requires="Kill-${#},Push-Bits-${#},Push-Bits"/>
- <dependency name="Secure-SSH" requires="Untar-And-Run-${#}"/>
+ <step name="Secure-SSH-${#}"
+ exec="onos-secure-ssh -u ${ONOS_WEB_USER} -p ${ONOS_WEB_PASS} ${OC#}"
+ requires="Untar-And-Run-${#}"/>
<step name="Wait-for-Start-${#}" exec="onos-wait-for-start ${OC#}"
- requires="Untar-And-Run-${#},~Secure-SSH"/>
+ requires="~Secure-SSH-${#}"/>
<step name="Check-Logs-${#}" exec="onos-check-logs ${OC#}"
requires="~Wait-for-Start-${#}"/>
<step name="Check-Components-${#}" exec="onos-check-components ${OC#}"
requires="~Wait-for-Start-${#}"/>
- <step name="Check-Apps-${#}" exec="onos-check-apps ${OC#} drivers"
+ <step name="Check-Apps-${#}" exec="onos-check-apps ${OC#} drivers includes"
requires="~Wait-for-Start-${#}"/>
-
<step name="Check-Nodes-${#}" exec="onos-check-nodes ${OC#} ${OC#}"
requires="~Wait-for-Start-${#}"/>
</parallel>
@@ -53,9 +53,8 @@
requires="~Wait-for-Start-Again-${#}"/>
<step name="Check-Components-Again-${#}" exec="onos-check-components ${OC#}"
requires="~Wait-for-Start-Again-${#}"/>
- <step name="Check-Apps-Again-${#}" exec="onos-check-apps ${OC#} drivers"
+ <step name="Check-Apps-Again-${#}" exec="onos-check-apps ${OC#} drivers includes"
requires="~Wait-for-Start-Again-${#}"/>
-
<step name="Check-Nodes-Again-${#}" exec="onos-check-nodes ${OC#}"
requires="~Wait-for-Start-Again-${#}"/>
</parallel>