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

test: remove sleep from UNSUBSCRIBE_BLOCK e2e test #258

Merged
merged 1 commit into from
Nov 12, 2024

Conversation

iccicci
Copy link
Contributor

@iccicci iccicci commented Nov 12, 2024

No description provided.

@iccicci iccicci force-pushed the test/unsubscribe_block branch from b28b00c to a84c54d Compare November 12, 2024 14:43

// ensure the alternative client got the new block while the standard one didn't
expect(ws1.getSubscriptionMessages().length).equals(0);
expect(ws2.getSubscriptionMessages().length).equals(1);
Copy link
Collaborator

Choose a reason for hiding this comment

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

Can you ws2.close(); to tear down additional ws clinet?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Nice catch!

309f4ef should solve this

@iccicci iccicci force-pushed the test/unsubscribe_block branch from a84c54d to 309f4ef Compare November 12, 2024 15:01
@bslabiak bslabiak self-requested a review November 12, 2024 15:08
Copy link
Collaborator

@bslabiak bslabiak left a comment

Choose a reason for hiding this comment

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

GJ!

@iccicci iccicci force-pushed the test/unsubscribe_block branch from 309f4ef to eca2363 Compare November 12, 2024 15:22
@slowbackspace slowbackspace merged commit 0649c3d into master Nov 12, 2024
3 checks passed
@iccicci iccicci deleted the test/unsubscribe_block branch November 19, 2024 12:02
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