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

Flaky test pass1 #855

Merged
merged 5 commits into from
Jan 6, 2025
Merged

Flaky test pass1 #855

merged 5 commits into from
Jan 6, 2025

Conversation

bretambrose
Copy link
Contributor

@bretambrose bretambrose commented Dec 19, 2024

  • Update shared subscription test to remove invalid assertions on a property that does not necessarily hold (all subscriptions receive messages)
  • Update SelfPubSub test to not use counting variables that are pointless (they won't ever be wrong) as well as unsafe from race conditions (they are set and read from different threads with no explicit synchronizations, also the future that was waited upon strictly happens-before the setting of the counter which leads to consistency issues)
  • Update the double client id connection failure test to be more forgiving to potential race conditions between the two clients fighting over the client id
  • Adds a delay between subscribe and disconnect in the will test. Did not get an encouraging answer when the service team was queried about whether subscribe completion had any eventual consistency issues relative to a subsequent publish (connection will).

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@bretambrose bretambrose marked this pull request as ready for review January 6, 2025 19:03
@bretambrose bretambrose merged commit 5593e88 into main Jan 6, 2025
53 checks passed
@bretambrose bretambrose deleted the FlakyTestPass1 branch January 6, 2025 21: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.

2 participants