Skip to content

Add spanner system tests: - #4371

Merged
tseaver merged 2 commits into
masterfrom
4364-spanner-systest-bind-query
Nov 10, 2017
Merged

Add spanner system tests:#4371
tseaver merged 2 commits into
masterfrom
4364-spanner-systest-bind-query

Conversation

@tseaver

Copy link
Copy Markdown
Contributor
  • Bind timestamp.
  • Bind string array.
  • Bind empty string array.
  • Bind string to null.
  • Query returning array of -Inf, +Inf, NaN.

Toward #4364.

@tseavertseaver added api: spanner Issues related to the Spanner API. testing labels Nov 9, 2017
@googlebotgooglebot added the cla: yes This human has signed the Contributor License Agreement. label Nov 9, 2017
@tseavertseaver mentioned this pull request Nov 9, 2017
19 tasks

@dhermesdhermes left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

LGTM, though that test case is getting pretty long. You should consider breaking it up.

@tseaver

Copy link
Copy Markdown
ContributorAuthor

@dhermes I split the "transfinite" cases out into a separate method. Code is otherwise unchanged: I will merge when Circle is green.

- Bind timestamp.
- Bind string array.
- Bind empty string array.
- Bind string to null.
- Query returning array of -Inf, +Inf, NaN.
Group all -inf / +inf / nan cases together.
@tseaver
tseaverforce-pushed the 4364-spanner-systest-bind-query branch from ce26b03 to 03304c9CompareNovember 9, 2017 21:51
@tseaver

Copy link
Copy Markdown
ContributorAuthor

Rebased to pick up hardening from merged #4374.

@chemelnucfinchemelnucfin left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

LGTM. But agree with @dhermes comment about too many checks in one method. No big deal though.

Also, may I suggest to use origin (your own) for branching instead of upstream (gcp) to keep branches tidy?

@dhermes

Copy link
Copy Markdown
Contributor

Also, may I suggest to use origin (your own) for branching instead of upstream (gcp) to keep branches tidy?

This was intentional by @tseaver. When we push to the upstream remote, the system tests get run (they get skipped on PR builds otherwise).

But good advice otherwise!

@chemelnucfin

Copy link
Copy Markdown
Contributor

@dhermes wait, so if I make a PR the system tests don't run on CI?

@dhermes

Copy link
Copy Markdown
Contributor

@chemelnucfin That's correct. It's a security concern, since anyone can send a PR. Check out one of your builds, it'll say "skipped" by the system tests.

@tseaver
tseaver merged commit 2bf694b into masterNov 10, 2017
@tseaver
tseaver deleted the 4364-spanner-systest-bind-query branch November 10, 2017 16:40
parthea pushed a commit that referenced this pull request Mar 9, 2026
- Bind timestamp.
- Bind string array.
- Bind empty string array.
- Bind string to null.
- Query returning array of -Inf, +Inf, NaN.
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

api: spannerIssues related to the Spanner API.cla: yesThis human has signed the Contributor License Agreement.testing

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants

@tseaver@dhermes@chemelnucfin@googlebot