Add a small pause before running pingall to allow the switches to settle
Change-Id: Ie987a4b6aabfb37eecd8db3e4513443938ec416a
(cherry picked from commit a2105207973ddb0fa18d96de6acf4698c70875c9)
diff --git a/tools/test/scenarios/net-pingall.xml b/tools/test/scenarios/net-pingall.xml
index ef31aae..6766e53 100644
--- a/tools/test/scenarios/net-pingall.xml
+++ b/tools/test/scenarios/net-pingall.xml
@@ -16,8 +16,11 @@
<scenario name="net-pingall" description="Network pingall test">
<!-- Note: This scenario is tailored using 'topo' recipe mechanism; see topos/*.recipe files -->
<group name="Net-Pingall">
+ <!-- FIXME - this is a hack to get around failures in pingall with large
+ clusters. Investigate why this is needed sometimes. -->
+ <step name="sleep" exec="sleep 5" requires="Check-Fwd-Apps-Activated"/>
- <step name="Ping-All" requires="Check-Fwd-Apps-Activated"
+ <step name="Ping-All" requires="sleep"
exec="onos-mininet sendAndExpect pingall --expect ${OPALL}/${OPALL} received"/>
<step name="Check-Summary-For-Hosts" requires="~Ping-All"