Skip to content

Commit c11900c

Browse files
committed
Increased time delay in test.
1 parent 78c5708 commit c11900c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

rxjava-core/src/test/java/rx/operators/OperationNextTest.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -296,9 +296,9 @@ public void run() {
296296

297297
System.out.println("a: " + a + " b: " + b + " c: " + c);
298298
}
299-
@Test(timeout = 2000)
299+
@Test(timeout = 8000)
300300
public void testSingleSourceManyIterators() throws InterruptedException {
301-
BlockingObservable<Long> source = Observable.interval(50, TimeUnit.MILLISECONDS).take(10).toBlockingObservable();
301+
BlockingObservable<Long> source = Observable.interval(200, TimeUnit.MILLISECONDS).take(10).toBlockingObservable();
302302

303303
Iterable<Long> iter = source.next();
304304

@@ -311,7 +311,7 @@ public void testSingleSourceManyIterators() throws InterruptedException {
311311
Assert.assertEquals(Long.valueOf(i), it.next());
312312
}
313313

314-
Thread.sleep(100);
314+
Thread.sleep(400);
315315

316316
Assert.assertEquals(false, it.hasNext());
317317
}

0 commit comments

Comments
 (0)