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 — test: fix insert test by HemangChothani · Pull Request #62 · googleapis/python-spanner-sqlalchemy

This repository was archived by the owner on May 14, 2026. It is now read-only.

Conversation

@HemangChothani

@HemangChothani HemangChothani commented Apr 27, 2021

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
@HemangChothani
test: skip autoincrement test
539a69e
@HemangChothani
HemangChothani requested a review from AVaksman April 27, 2021 13:12
@google-cla google-cla Bot added the cla: yes This human has signed the Contributor License Agreement. label Apr 27, 2021
AVaksman
AVaksman approved these changes Apr 27, 2021
View reviewed changes
IlyaFaer
IlyaFaer reviewed Apr 28, 2021
View reviewed changes
Comment thread test/test_suite.py Outdated

@pytest.mark.skip("Spanner doesn't support auto increment")
def test_autoclose_on_insert(self):
pass

@IlyaFaer IlyaFaer Apr 28, 2021

Copy link
Copy Markdown

There was a problem hiding this comment.

Choose a reason for hiding this comment

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

This test is flaky, it sometime passes. That means it can be fixed instead of skipping.

Безымянный

Sorry, something went wrong.

Uh oh!

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

All reactions

@HemangChothani HemangChothani Apr 28, 2021

Copy link
Copy Markdown
Contributor Author

There was a problem hiding this comment.

Choose a reason for hiding this comment

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

I have tried multiple times, but it failed every time, the test is related to auto increment which spanner doesn't support. To pass this need to fill id manually which break the meaning of test.

Sorry, something went wrong.

Uh oh!

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

All reactions

@HemangChothani HemangChothani Apr 28, 2021

Copy link
Copy Markdown
Contributor Author

There was a problem hiding this comment.

Choose a reason for hiding this comment

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

I don't think its flaky as in create table sql define NOT NULL to id column. CREATE TABLE autoinc_pk (id INT64 NOT NULL, data STRING(50)\n) PRIMARY KEY (id). Hence override the test and also enable and override the other related advance test.

Sorry, something went wrong.

Uh oh!

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

All reactions
@HemangChothani
test: enable advance tests
37009aa
@HemangChothani HemangChothani changed the title test: skip autoincrement test test: fix and enable insert test Apr 28, 2021
@HemangChothani
test: remove advance tests
174e697
@HemangChothani HemangChothani changed the title test: fix and enable insert test test: fix insert test Apr 28, 2021
@HemangChothani
HemangChothani requested a review from larkee April 28, 2021 15:51
@HemangChothani
Merge branch 'main' of https://github.com/cloudspannerecosystem/pytho…
123800e
…n-spanner-sqlalchemy into autoincrement_on_insert
@skuruppu
skuruppu requested a review from vi3k6i5 May 6, 2021 23:03
@HemangChothani HemangChothani mentioned this pull request May 11, 2021
test: fix numeric compliance test #29
Merged
HemangChothani and others added 2 commits May 11, 2021 13:17
@HemangChothani
Merge branch 'main' of https://github.com/cloudspannerecosystem/pytho…
8878668
…n-spanner-sqlalchemy into autoincrement_on_insert
@larkee
Merge branch 'main' into autoincrement_on_insert
5e684ab
larkee
larkee approved these changes May 12, 2021
View reviewed changes
@larkee
larkee merged commit aa67b08 into main May 12, 2021
@IlyaFaer
IlyaFaer deleted the autoincrement_on_insert branch May 12, 2021 09:50
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Reviewers

@vi3k6i5 vi3k6i5 Awaiting requested review from vi3k6i5
3 more reviewers
@IlyaFaer IlyaFaer IlyaFaer left review comments
@AVaksman AVaksman AVaksman approved these changes
@larkee larkee larkee approved these changes
Reviewers whose approvals may not affect merge requirements

Uh oh!

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

Assignees

No one assigned

Labels

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

@HemangChothani @AVaksman @IlyaFaer @larkee
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.