-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
Avoid sharing database name between testcase classes. #4285
Avoid sharing database name between testcase classes. #4285
Conversation
This tries to address some recent failures:
@tseaver Has also "cleaned" up recent sessions by hand. I also pushed this branch to the |
@tseaver These tests end up with a 409 Conflict. We'll pick this back up tomorrow? |
Based on the success of
it's clear that
|
The "obvious" fix would be to use a per-CI-run instance (using our normal We could try mangling the database names, rather than the instance name: it is possible that we wouldn't hit a different quota limit for databases-within-an-instance. |
@tseaver Could we check if it exists before using it in a class setup, then sleep (or fail the test) if it already exists? |
@lukesneeringer Or we could ask again to get our quota raised: they acted like it was impossible back before I capitulated and put in #3951. |
@dhermes We really don't want to share the database between test runs: they could step on each other in lots of ways beyond the creation bit. |
@dhermes https://circleci.com/gh/GoogleCloudPlatform/google-cloud-python/3964 is the run which will actually exercise the system tests from 2a66746. |
I wasn't suggesting we do. I was suggesting we either
|
@tseaver You should rebase this PR so that your "Declare target packages (changed packages and dependencies)." doesn't end up with packages you don't care about. |
Abrupt shutdown (maybe CircleCI auto-cancellation?) can cause them not to be cleaned up.
This time for sure, Rocky!
I'm not sure I get why the rebase, but I've done it blindly. |
@tseaver If you'd like to understand how "Declare Target Packages" works:
In particular, |
The Appveyor varioure is the same (bogus) "invalid version number" error. Any other reason not to merge this? |
But go ahead and merge, no need to re-run tests. |
Abrupt shutdown (maybe CircleCI auto-cancellation?) can cause them not to be cleaned up.
Abrupt shutdown (maybe CircleCI auto-cancellation?) can cause them not to be cleaned up.
Abrupt shutdown (maybe CircleCI auto-cancellation?) can cause them not to be cleaned up.