Thomas Vachuska
Committed by Gerrit Code Review

Increased tolerance for pingall test

Moved-up a time-stamp in FlowObjectiveManager profiling.

Change-Id: Iedd38a721ace5eb6f25f5a050b9f49dea3e271a2
......@@ -260,12 +260,12 @@ public class FlowObjectiveManager implements FlowObjectiveService {
}
driverHandlers.put(deviceId, handler);
hTime = now();
}
// Always (re)initialize the pipeline behaviour
log.info("Driver {} bound to device {} ... initializing driver",
handler.driver().name(), deviceId);
hTime = now();
Pipeliner pipeliner = handler.behaviour(Pipeliner.class);
hbTime = now();
pipeliner.init(deviceId, context);
......
......@@ -17,7 +17,7 @@
<!-- TODO: parametrize this via recipes -->
<group name="Net-Pingall">
<step name="Ping-All-And-Verify"
exec="onos-mininet sendAndExpect py net.pingAll(1) --expect Results: .* dropped"/>
exec="onos-mininet sendAndExpect py net.pingAll(1) --expect Results: [0-5]% dropped"/>
<step name="Check-Summary-For-Hosts" requires="~Ping-All-And-Verify"
exec="onos-check-summary ${OC1} [0-9]* 25 140 25"/>
......