Committed by
Brian O'Connor
Fix race condition in stc net-create-flows by checking for flows
Change-Id: I3e2966cf9850c00a7c8223992b4cf6f6709e23df
Showing
1 changed file
with
4 additions
and
0 deletions
... | @@ -86,6 +86,10 @@ | ... | @@ -86,6 +86,10 @@ |
86 | <step name="Net-Create-Flows.Delete-f10" requires="^" | 86 | <step name="Net-Create-Flows.Delete-f10" requires="^" |
87 | exec="curl -f -X DELETE -uonos:rocks ${f10Location}"/> | 87 | exec="curl -f -X DELETE -uonos:rocks ${f10Location}"/> |
88 | 88 | ||
89 | + <!-- Make sure all flows are removed --> | ||
90 | + <step name="Net-Create-Flows.Check-Flows-Removed" requires="^" | ||
91 | + exec="onos-check-flows ${OC1}"/> | ||
92 | + | ||
89 | <!-- Ping again to be sure the path was removed. --> | 93 | <!-- Ping again to be sure the path was removed. --> |
90 | <step name="Net-Create-Flows.Fail-Ping-XY" requires="^" | 94 | <step name="Net-Create-Flows.Fail-Ping-XY" requires="^" |
91 | exec="onos-mininet sendAndExpect h1 ping -c1 h4 --expect \ 100% packet loss"/> | 95 | exec="onos-mininet sendAndExpect h1 ping -c1 h4 --expect \ 100% packet loss"/> | ... | ... |
-
Please register or login to post a comment