Skip to content

OperatorFilter failure #1522

@davidmoten

Description

@davidmoten

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());
    }

}

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions