Skip to content

Commit 16155fb

Browse files
committed
Increase task completion timeout from 0.5 => 1.0 sec
As seen at https://travis-ci.org/ReactiveX/RxJavaFX/builds/41017012, `JavaFxSchedulerTest.testPeriodicScheduling` still fails under Travis CI, though it is assumed not because of negative delay time values but because of actual failure to execute tasks in the given half-second period. This failure is unreproducible on a 4-core MBP, so the 1 second timeout is a guess.
1 parent 00ffe2b commit 16155fb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/test/java/rx/schedulers/JavaFxSchedulerTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ public void call() {
9595

9696
inner.schedulePeriodically(action, 50, 200, TimeUnit.MILLISECONDS);
9797

98-
if (!latch.await(5000, TimeUnit.MILLISECONDS)) {
98+
if (!latch.await(1, TimeUnit.SECONDS)) {
9999
fail("timed out waiting for tasks to execute");
100100
}
101101

0 commit comments

Comments
 (0)