Skip to content

chore(test): deflake and refactor test fake service helper#1267

Merged
igorbernstein2 merged 1 commit intogoogleapis:mainfrom
igorbernstein2:test-emulator-retries
May 27, 2022
Merged

chore(test): deflake and refactor test fake service helper#1267
igorbernstein2 merged 1 commit intogoogleapis:mainfrom
igorbernstein2:test-emulator-retries

Conversation

@igorbernstein2
Copy link
Copy Markdown
Contributor

There is a race condition when running unit tests in parallel that where they can pick the same port for a fake service. This PR adds a retry loop to let them resolve the race.
It also refactors the helper into a builder instead, avoiding the need for multiple constructors and empty args

There is a race condition when running unit tests in parallel that where they can pick the same port for a fake service. This PR adds a retry loop to let them resolve the race.
It also refactors the helper into a builder instead, avoiding the need for multiple constructors and empty args
@igorbernstein2 igorbernstein2 requested a review from a team May 27, 2022 15:02
@product-auto-label product-auto-label Bot added size: l Pull request size is large. api: bigtable Issues related to the googleapis/java-bigtable API. labels May 27, 2022
@igorbernstein2 igorbernstein2 added the owlbot:run Add this label to trigger the Owlbot post processor. label May 27, 2022
@gcf-owl-bot gcf-owl-bot Bot removed the owlbot:run Add this label to trigger the Owlbot post processor. label May 27, 2022
@igorbernstein2 igorbernstein2 merged commit ae0d60d into googleapis:main May 27, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

api: bigtable Issues related to the googleapis/java-bigtable API. size: l Pull request size is large.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants