-
Notifications
You must be signed in to change notification settings - Fork 7.6k
Closed
Description
This test hangs with 0.20.0-RC3 I'm supposing because of OperatorFilter
:
import org.junit.Assert;
import org.junit.Test;
import rx.Observable;
import rx.functions.Functions;
public class BackpressureTest {
@Test
public void testDoesNotHang() {
Assert.assertEquals(0, Observable
.empty()
.count()
.filter(Functions.alwaysFalse())
.toList()
.toBlocking().single().size());
}
}