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

Use ThreadPool to launch browser for authentication #689

Merged
merged 2 commits into from
Sep 22, 2023
Merged

Conversation

poovamraj
Copy link
Contributor

Changes

Previously we created a new instance of Thread to launch the browser for authentication. This caused flakiness on the CI as we had to rely on the execution order of the VM. We have used our own Thread pool now. This optimizes the resources used and also helps us avoid the flakiness in the CI.

References

Failure of CI here and such in the past - #688

Testing

We have added more verification now to ensure background switch is made

  • This change adds unit test coverage
  • This change adds integration test coverage
  • This change has been tested on the latest version of the platform/language or why not

@poovamraj poovamraj requested a review from a team as a code owner September 22, 2023 08:39
@poovamraj poovamraj merged commit 70d3d13 into main Sep 22, 2023
6 checks passed
@poovamraj poovamraj deleted the fix-ci-flakiness branch September 22, 2023 15:57
@poovamraj poovamraj mentioned this pull request Oct 4, 2023
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