-
Notifications
You must be signed in to change notification settings - Fork 473
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 Flakey Tests on CI for PubSub examples #1540
Comments
I had similar issues and fixed by listening for for some reason, even with long timeouts, some nodes would never peer |
Here's another test failure - https://github.com/libp2p/js-libp2p/actions/runs/3891376024/jobs/6641677031 |
I think instead of increasing the delay a better fix in the message filtering test might be for |
I was originally confused by the logs saying
What's interesting is that this approach doesn't seem to work unless |
Instead of waiting an arbitrary amount of time for subscriptions to propagate, before sending messages, ensure that node1 has node2's subs and node2 has node3's subs. Closes #1540
Severity:
Low
Description:
On occasion the test-example (pubsub) fails with messages not being received I suspect we could try increasing the delay
Steps to reproduce the error:
Not necessarily easily reproducible as it doesn't happen frequently
The text was updated successfully, but these errors were encountered: