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

DT-1194: Fix issue where using Awaitility was causing code to run on a different thread #1903

Merged
merged 2 commits into from
Feb 10, 2025

Conversation

pshapiro4broad
Copy link
Member

Jira ticket: https://broadworkbench.atlassian.net/browse/DT-1194

Addresses

Using Awaitility instead of sleep() causes code to run on a different thread. Any thread-local data must be extracted before calling Awaitility.

Summary of changes

Move calls to steward() out of the Awaitilty method call. This problem was noticed and fixed while working on #1896, but the fix was inadvertently lost while reverting other unnecessary changes.

Testing Strategy

Integration tests pass without need to retry.

@pshapiro4broad pshapiro4broad requested a review from a team as a code owner February 7, 2025 21:43
@pshapiro4broad pshapiro4broad requested review from snf2ye and s-rubenstein and removed request for a team February 7, 2025 21:43
Copy link

sonarqubecloud bot commented Feb 7, 2025

Copy link
Contributor

@rushtong rushtong left a comment

Choose a reason for hiding this comment

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

👍🏽

Copy link
Contributor

@fboulnois fboulnois left a comment

Choose a reason for hiding this comment

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

👍

@pshapiro4broad pshapiro4broad merged commit da71fcc into develop Feb 10, 2025
14 checks passed
@pshapiro4broad pshapiro4broad deleted the ps/integration-test-thread-issue branch February 10, 2025 16:55
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.

4 participants