Skip to content

Commit

Permalink
Increased time delay in test.
Browse files Browse the repository at this point in the history
  • Loading branch information
akarnokd committed Dec 17, 2013
1 parent 8f1f86d commit 7a938be
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions rxjava-core/src/test/java/rx/operators/OperationNextTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -296,9 +296,9 @@ public void run() {

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

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

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

Thread.sleep(100);
Thread.sleep(400);

Assert.assertEquals(false, it.hasNext());
}
Expand Down

0 comments on commit 7a938be

Please sign in to comment.