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

Fix ChannelSetTest async issues #979

Merged
merged 1 commit into from
Mar 23, 2020

Conversation

Scottmitch
Copy link
Member

Motivation:
ChannelSetTest is flaky because it doens't wait for events to occurr that it validates.

Modifications:

  • Introduce TestCollectingCompletableSubscriber which allows for tests to wait for specific conditions before delivering events and validation.
  • Use this in ChannelSetTest

Result:
ChannelSetTest is more reliable.

Motivation:
ChannelSetTest is flaky because it doens't wait for events to occurr that it validates.

Modifications:
- Introduce TestCollectingCompletableSubscriber which allows for tests to wait for specific conditions before delivering events and validation.
- Use this in ChannelSetTest

Result:
ChannelSetTest is more reliable.
Copy link
Member

@idelpivnitskiy idelpivnitskiy left a comment

Choose a reason for hiding this comment

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

🚀

@Scottmitch Scottmitch merged commit 3bd64a9 into apple:master Mar 23, 2020
@Scottmitch Scottmitch deleted the channel_set_test branch March 23, 2020 20:12
Copy link
Collaborator

@NiteshKant NiteshKant left a comment

Choose a reason for hiding this comment

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

Late LGTM

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