Skip to content

TCK requires immediate publishing of onError, but spec does not say this is required #559

Open
@gmarcosb

Description

@gmarcosb

In various TCK tests, there is an expectation that a closed/errored stream be immediately reported as such to the subscriber - see, for example, this test:

onSubscribeLatch.expectClose("Should have received onSubscribe");

However, the spec does not specify whether a subscriber should immediately get these callbacks, or if it should get them after a call to Subscription.request()

Getting no callbacks until a request is a bit more consistent with the other stream callback behaviors

But, at a minimum, it seems like the TCK test should support the case where a Publisher does not call onError/onComplete until the Subscriber makes a Subscription.request

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions