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 flaky test in stateful stub #1616

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

yogeshnikam671
Copy link
Member

No description provided.

@@ -661,6 +663,18 @@ class StatefulHttpStubConcurrencyTest {
latch.await()
executor.shutdown()
Copy link
Member

Choose a reason for hiding this comment

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

Did you try executor.awaitTermination() before calling shutdown? If it works as the documentation suggests, the waitForProducts function might not be needed.

Copy link
Member Author

Choose a reason for hiding this comment

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

I'll try this

@yogeshnikam671 yogeshnikam671 force-pushed the fix_stateful_stub_flaky_test branch from 3e7ad49 to 6c32ca1 Compare February 14, 2025 09:09
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