Committed by
Gerrit Code Review
Increased tolerance for pingall test
Moved-up a time-stamp in FlowObjectiveManager profiling. Change-Id: Iedd38a721ace5eb6f25f5a050b9f49dea3e271a2
Showing
2 changed files
with
2 additions
and
2 deletions
| ... | @@ -260,12 +260,12 @@ public class FlowObjectiveManager implements FlowObjectiveService { | ... | @@ -260,12 +260,12 @@ public class FlowObjectiveManager implements FlowObjectiveService { |
| 260 | } | 260 | } |
| 261 | 261 | ||
| 262 | driverHandlers.put(deviceId, handler); | 262 | driverHandlers.put(deviceId, handler); |
| 263 | - hTime = now(); | ||
| 264 | } | 263 | } |
| 265 | 264 | ||
| 266 | // Always (re)initialize the pipeline behaviour | 265 | // Always (re)initialize the pipeline behaviour |
| 267 | log.info("Driver {} bound to device {} ... initializing driver", | 266 | log.info("Driver {} bound to device {} ... initializing driver", |
| 268 | handler.driver().name(), deviceId); | 267 | handler.driver().name(), deviceId); |
| 268 | + hTime = now(); | ||
| 269 | Pipeliner pipeliner = handler.behaviour(Pipeliner.class); | 269 | Pipeliner pipeliner = handler.behaviour(Pipeliner.class); |
| 270 | hbTime = now(); | 270 | hbTime = now(); |
| 271 | pipeliner.init(deviceId, context); | 271 | pipeliner.init(deviceId, context); | ... | ... |
| ... | @@ -17,7 +17,7 @@ | ... | @@ -17,7 +17,7 @@ |
| 17 | <!-- TODO: parametrize this via recipes --> | 17 | <!-- TODO: parametrize this via recipes --> |
| 18 | <group name="Net-Pingall"> | 18 | <group name="Net-Pingall"> |
| 19 | <step name="Ping-All-And-Verify" | 19 | <step name="Ping-All-And-Verify" |
| 20 | - exec="onos-mininet sendAndExpect py net.pingAll(1) --expect Results: .* dropped"/> | 20 | + exec="onos-mininet sendAndExpect py net.pingAll(1) --expect Results: [0-5]% dropped"/> |
| 21 | 21 | ||
| 22 | <step name="Check-Summary-For-Hosts" requires="~Ping-All-And-Verify" | 22 | <step name="Check-Summary-For-Hosts" requires="~Ping-All-And-Verify" |
| 23 | exec="onos-check-summary ${OC1} [0-9]* 25 140 25"/> | 23 | exec="onos-check-summary ${OC1} [0-9]* 25 140 25"/> | ... | ... |
-
Please register or login to post a comment