Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

+tck #362 complete subscriber under test once done in 205 #373

Merged

Conversation

ktoso
Copy link
Contributor

@ktoso ktoso commented May 29, 2017

Cleanup to things found in #362

}
}).required_spec205_blackbox_mustCallSubscriptionCancelIfItAlreadyHasAnSubscriptionAndReceivesAnotherOnSubscribeSignal();

completion.await(1, TimeUnit.SECONDS);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is 1s always appropriate here?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why not? Usually completes almost instant, why put tight timeouts?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't know, hence the question. Since it is a "magic number" I was wondering how it was chosen. If you think it'll work fine for all impls then that's all I need :)

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ok, yes it's enough.
It does not matter for different impls, this provides the impl and tests the tck, no different impls will be provided for this codepath.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ok!

@viktorklang viktorklang merged commit 0447764 into reactive-streams:master Jun 16, 2017
@viktorklang viktorklang added this to the 1.0.1 milestone Jun 16, 2017
@ktoso ktoso mentioned this pull request Jun 26, 2017
3 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants