Uh oh!
There was an error while loading. Please reload this page.
Avoid sharing database name between testcase classes. - #4285
Conversation
dhermes
commented
Oct 30, 2017
This tries to address some recent failures:
@tseaver Has also "cleaned" up recent sessions by hand. I also pushed this branch to the |
dhermes
commented
Oct 30, 2017
@tseaver These tests end up with a 409 Conflict. We'll pick this back up tomorrow? |
dhermes
commented
Oct 31, 2017
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. |
dhermes
commented
Oct 31, 2017
@tseaver Could we check if it exists before using it in a class setup, then sleep (or fail the test) if it already exists? |
tseaver
commented
Oct 31, 2017
@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. |
tseaver
commented
Oct 31, 2017
@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. |
@dhermeshttps://circleci.com/gh/GoogleCloudPlatform/google-cloud-python/3964 is the run which will actually exercise the system tests from 2a66746. |
dhermes
commented
Oct 31, 2017
I wasn't suggesting we do. I was suggesting we either
|
dhermes
commented
Oct 31, 2017
@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!
tseaver
commented
Nov 1, 2017
I'm not sure I get why the rebase, but I've done it blindly. |
dhermes
commented
Nov 1, 2017
@tseaver If you'd like to understand how "Declare Target Packages" works:
In particular, |
tseaver
commented
Nov 6, 2017
The Appveyor varioure is the same (bogus) "invalid version number" error. Any other reason not to merge this? |
dhermes
commented
Nov 6, 2017
dhermes
commented
Nov 6, 2017
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.
Abrupt shutdown (maybe CircleCI auto-cancellation?) can cause them not to be cleaned up.