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

chore: fix pubsub interop tests #2191

Merged
merged 1 commit into from
Nov 2, 2023
Merged

Conversation

achingbrain
Copy link
Member

When opening outbound streams, only make sure no outbound pubsub streams exist on the connection, not just any pubsub streams.

Improves logging:

  • Disables autodial during interop tests to make logs quieter
  • Makes logging why we can't send an RPC message to a peer clearer

Fixes a race condition where the remote peer can open streams before us which then prevents us opening streams.

Change checklist

  • I have performed a self-review of my own code
  • I have made corresponding changes to the documentation if necessary (this includes comments as well)
  • I have added tests that prove my fix is effective or that my feature works

@achingbrain achingbrain requested a review from a team as a code owner November 2, 2023 11:20
When opening outbound streams, only make sure no outbound pubsub
streams exist on the connection, not just any pubsub streams.

Fixes a race condition where the remote peer can open streams
before us which then prevents us opening streams.
@achingbrain achingbrain force-pushed the chore/fix-interop-tests branch from 6d6f3a2 to fc95a72 Compare November 2, 2023 11:21
@achingbrain achingbrain merged commit 16a8707 into master Nov 2, 2023
22 checks passed
@achingbrain achingbrain deleted the chore/fix-interop-tests branch November 2, 2023 12:28
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.

1 participant