GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Spanner: clean up databases after use by chemelnucfin · Pull Request #4556 · googleapis/google-cloud-python

Conversation

@chemelnucfin

@chemelnucfin chemelnucfin commented Dec 8, 2017

Copy link
Copy Markdown
Contributor

No description provided.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@chemelnucfin
Spanner: clean up databases after use
c09950b
@chemelnucfin
chemelnucfin requested a review from lukesneeringer as a code owner December 8, 2017 18:39
@googlebot googlebot added the cla: yes This human has signed the Contributor License Agreement. label Dec 8, 2017
@chemelnucfin chemelnucfin added the api: spanner Issues related to the Spanner API. label Dec 20, 2017
@tseaver

tseaver commented Dec 20, 2017

Copy link
Copy Markdown
Contributor

This change is not correct. We are forced to re-use / share instances across test runs (and for other purposes), which means that we should only ever drop databases which are created in the current test run.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@tseaver tseaver closed this Dec 20, 2017
@chemelnucfin

chemelnucfin commented Dec 20, 2017 via email •
edited by dhermes
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Contributor Author
But the way the tests are set up, it doesn't seem like all the tests get cleaned up, especially if I interrupt in the middle?
All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@dhermes

dhermes commented Dec 20, 2017

Copy link
Copy Markdown
Contributor

especially if I interrupt in the middle

Our cleanup has been tailored to a "graceful" exit (i.e. tests may error, but user doesn't kill process).

We could consider a more resilient approach but I don't think it's worth the effort.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@tseaver

tseaver commented Dec 20, 2017

Copy link
Copy Markdown
Contributor

Until we go back to using a created-from-scratch instance, we cannot drop all databases, because the CI may be running more than one job at once in the same instance. There may also be other databases pre-populated (e.g., to run the "large chunk" tests) which should never be dropped.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

vchudnov-g pushed a commit that referenced this pull request Sep 20, 2023
@renovate-bot Takashi Matsuo @busunkim96
chore(deps): update dependency dialogflow to v1.1.0 [(#4556)](GoogleC…
46de078
…loudPlatform/python-docs-samples#4556)

Co-authored-by: Takashi Matsuo <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@lukesneeringer lukesneeringer Awaiting requested review from lukesneeringer

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

api: spanner Issues related to the Spanner API. cla: yes This human has signed the Contributor License Agreement.

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

4 participants

@chemelnucfin @tseaver @dhermes @googlebot
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.