Fixes to make STC runs more reliable
- make sure that ONOS_USE_SSH is set in the environment - only wipe out data once mininet finishes shutting down Change-Id: I6dfcd2c839cc00a975583cb93f16775d5fcadf94
Showing
2 changed files
with
4 additions
and
4 deletions
... | @@ -17,9 +17,9 @@ | ... | @@ -17,9 +17,9 @@ |
17 | <!-- TODO: parametrize this via recipes --> | 17 | <!-- TODO: parametrize this via recipes --> |
18 | <group name="Net-Setup"> | 18 | <group name="Net-Setup"> |
19 | <step name="Push-Topos" exec="onos-push-topos ${OCN}"/> | 19 | <step name="Push-Topos" exec="onos-push-topos ${OCN}"/> |
20 | - <step name="Stop-Mininet-If-Needed" env="~" exec="onos-mininet stop"/> | ||
21 | 20 | ||
22 | - <step name="Wipe-Out-Data-Before" exec="onos-wipe-out"/> | 21 | + <step name="Stop-Mininet-If-Needed" env="~" exec="onos-mininet stop"/> |
22 | + <step name="Wipe-Out-Data-Before" exec="onos-wipe-out" requires="^"/> | ||
23 | 23 | ||
24 | <step name="Initial-Summary-Check" requires="~Wipe-Out-Data-Before" | 24 | <step name="Initial-Summary-Check" requires="~Wipe-Out-Data-Before" |
25 | exec="onos-check-summary ${OC1} [0-9]* 0 0 0"/> | 25 | exec="onos-check-summary ${OC1} [0-9]* 0 0 0"/> |
... | @@ -43,4 +43,4 @@ | ... | @@ -43,4 +43,4 @@ |
43 | <step name="Check-Flows" requires="~Pause-For-Masters,~Check-Summary" | 43 | <step name="Check-Flows" requires="~Pause-For-Masters,~Check-Summary" |
44 | exec="onos-check-flows ${OC1}"/> | 44 | exec="onos-check-flows ${OC1}"/> |
45 | </group> | 45 | </group> |
46 | -</scenario> | ||
... | \ No newline at end of file | ... | \ No newline at end of file |
46 | +</scenario> | ... | ... |
... | @@ -15,7 +15,7 @@ | ... | @@ -15,7 +15,7 @@ |
15 | --> | 15 | --> |
16 | <scenario name="prerequisites" description="ONOS test pre-requisites"> | 16 | <scenario name="prerequisites" description="ONOS test pre-requisites"> |
17 | <group name="Prerequisites"> | 17 | <group name="Prerequisites"> |
18 | - <step name="Check-Environment" exec="test -n ${ONOS_ROOT} -a -n ${ONOS_NIC} -a -n ${OC1}"/> | 18 | + <step name="Check-Environment" exec="test -n ${ONOS_ROOT} -a -n ${ONOS_NIC} -a -n ${OC1} -a '${ONOS_USE_SSH}' == 'true'"/> |
19 | <step name="Check-ONOS-Bits" exec="onos-check-bits"/> | 19 | <step name="Check-ONOS-Bits" exec="onos-check-bits"/> |
20 | 20 | ||
21 | <parallel var="${OC#}"> | 21 | <parallel var="${OC#}"> | ... | ... |
-
Please register or login to post a comment