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

test(datastore): Update BeginLater test and resolve data race #10489

Merged
merged 4 commits into from
Jul 3, 2024

Conversation

bhshkh
Copy link
Contributor

@bhshkh bhshkh commented Jul 2, 2024

Fixes: #10387
Accessing global variables is causing data race in tests. Made the error codes array global constant instead of the retryer itself.

Fixes: #10043
Using BeginLater option may or may not improve latency. Updating the test to denote the same

@product-auto-label product-auto-label bot added the api: datastore Issues related to the Datastore API. label Jul 2, 2024
@bhshkh bhshkh marked this pull request as ready for review July 2, 2024 23:51
@bhshkh bhshkh requested review from a team as code owners July 2, 2024 23:51
@bhshkh bhshkh enabled auto-merge (squash) July 3, 2024 18:14
@bhshkh bhshkh merged commit 727b6c8 into googleapis:main Jul 3, 2024
8 checks passed
@bhshkh bhshkh deleted the test/ds-flaky branch July 4, 2024 06:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api: datastore Issues related to the Datastore API.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

datastore: data race in transaction retryer datastore: TestIntegration_BeginLaterPerf failed
2 participants