Skip to content

Commit

Permalink
fix test's timing for intermittent failures
Browse files Browse the repository at this point in the history
got a couple of failures where 1,4,6,10 was received instead of 1,4,6,9.
Think the deadtime change was a bit too long so 9 wasn't outside of the
time-band.
  • Loading branch information
dlaboss committed Jun 3, 2016
1 parent 5a3b9ad commit b7a3a04
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,7 @@ public void testDeadtimeDynamic() throws Exception {
}
else if (curCnt == 7) {
// lengthen deadtime, so should now exclude 8 too and then 10
deadtime.setPeriod(300, TimeUnit.MILLISECONDS);
deadtime.setPeriod(250, TimeUnit.MILLISECONDS);
}
return curCnt;
}, 100, TimeUnit.MILLISECONDS);
Expand Down

0 comments on commit b7a3a04

Please sign in to comment.