Skip to content

chore(compute): Changing the default zone for compute api tests - #7463

Merged
gcf-merge-on-green[bot] merged 6 commits into
mainfrom
issue-7461
Feb 18, 2022
Merged

gcf-merge-on-green[bot] merged 6 commits into
mainfrom
issue-7461

Conversation

@m-strzelczyk

@m-strzelczyk m-strzelczyk commented Feb 16, 2022

Copy link
Copy Markdown
Contributor

Description

Fixes #7461

I figure the us-central1 is a bit overused, so there might be more race conditions when tests are running. Going away to Europe should reduce the risk of the race conditions/resource exhaustion.

Note: It's a good idea to open an issue first for discussion.

Checklist

@product-auto-label product-auto-label Bot added api: compute Issues related to the Compute Engine API. samples Issues that are directly related to samples. labels Feb 16, 2022
@m-strzelczyk
m-strzelczyk marked this pull request as ready for review February 16, 2022 14:26
@m-strzelczyk
m-strzelczyk requested a review from a team as a code owner February 16, 2022 14:26

@dandhlee dandhlee left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Did you mean to change this in the compute/api/create_instance_test.py file instead?

@m-strzelczyk

Copy link
Copy Markdown
Contributor Author

Did you mean to change this in the compute/api/create_instance_test.py file instead?

Yes. Thanks for catching this!

@dandhlee dandhlee left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Thanks! I think it's fine to leave the create_instance.py file's region as is, it can be changed by users if needed.

@m-strzelczyk

Copy link
Copy Markdown
Contributor Author

OK, I'll restore the zone in the sample code.

@m-strzelczyk
m-strzelczyk requested a review from engelke February 17, 2022 15:21
@dandhlee dandhlee added the automerge Merge the pull request once unit tests and other checks pass. label Feb 18, 2022
@gcf-merge-on-green
gcf-merge-on-green Bot merged commit 5c3322f into main Feb 18, 2022
@gcf-merge-on-green
gcf-merge-on-green Bot deleted the issue-7461 branch February 18, 2022 20:46
@gcf-merge-on-green gcf-merge-on-green Bot removed the automerge Merge the pull request once unit tests and other checks pass. label Feb 18, 2022

@leahecole leahecole left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Yes, and thank you for choosing one of our sustainable GCP regions!! Ah jk i see we didn't switch but if we do need to in the future that is a good choice.

@dandhlee

Copy link
Copy Markdown
Collaborator

I was on the fence on changing this for samples that's available to users rather than just tests alone, let's add this item to the meeting agenda to discuss

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

api: compute Issues related to the Compute Engine API. samples Issues that are directly related to samples.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

compute.api.create_instance_test: test_main failed

5 participants