Skip to content

Commit

Permalink
Improved unit test reliability.
Browse files Browse the repository at this point in the history
  • Loading branch information
jodzga committed Mar 9, 2017
1 parent 8b6c94b commit 6faaf12
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/com/linkedin/parseq/AbstractTaskTest.java
Expand Up @@ -197,7 +197,7 @@ public void testWithTimeoutFailure() {

@Test
public void testWithTimeoutTwiceFailure() {
Task<Integer> failure = getSuccessTask().andThen(delayedValue(0, 110, TimeUnit.MILLISECONDS))
Task<Integer> failure = getSuccessTask().andThen(delayedValue(0, 2000, TimeUnit.MILLISECONDS))
.withTimeout(5000, TimeUnit.MILLISECONDS).withTimeout(100, TimeUnit.MILLISECONDS);
try {
runAndWait("AbstractTaskTest.testWithTimeoutTwiceFailure", failure);
Expand Down

0 comments on commit 6faaf12

Please sign in to comment.