Skip to content

Commit b027db6

Browse files
Increasing timeout
Using low timeout values causes non-determinism in some build environments.
1 parent 0f6dd5a commit b027db6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

rxjava-core/src/test/java/rx/internal/operators/OperatorParallelTest.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ public void call(Integer[] v) {
8181
assertEquals("finalCount", NUM, count.get());
8282
}
8383

84-
@Test(timeout = 1000)
84+
@Test(timeout = 10000)
8585
public void testParallelWithNestedAsyncWork() {
8686
int NUM = 20;
8787
final AtomicInteger count = new AtomicInteger();
@@ -192,7 +192,7 @@ public String call(Integer t) {
192192
assertEquals(2000, ts.getOnNextEvents().size());
193193
}
194194

195-
@Test(timeout = 1000)
195+
@Test(timeout = 10000)
196196
public void testBackpressureViaSynchronousTake() {
197197
final AtomicInteger emitted = new AtomicInteger();
198198
TestSubscriber<String> ts = new TestSubscriber<String>();

0 commit comments

Comments
 (0)