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): replace non-UTC time test #3468

Closed
wants to merge 1 commit into from

Conversation

tritone
Copy link
Contributor

@tritone tritone commented Dec 15, 2020

This test caused race conditions by manipulating time.Local and
there is not a good way to test the behavior while avoiding this.
Instead I replace it by passing in timezone explicitly in
setVal and writing a test for that.

Fixes #3402

This test caused race conditions by manipulating time.Local and
there is not a good way to test the behavior while avoiding this.
Instead I replace it by passing in timezone explicitly in
setVal and writing a test for that.

Fixes googleapis#3402
@tritone tritone requested a review from tbpg December 15, 2020 19:18
@google-cla google-cla bot added the cla: yes This human has signed the Contributor License Agreement. label Dec 15, 2020
@product-auto-label product-auto-label bot added the api: datastore Issues related to the Datastore API. label Dec 15, 2020
@tritone tritone closed this Dec 16, 2020
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. cla: yes This human has signed the Contributor License Agreement.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

datastore: TestLoadCivilTimeInNonUTCZone failed
1 participant