Skip to content
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

test: fix numeric compliance test #29

Merged
merged 20 commits into from May 13, 2021
Merged

test: fix numeric compliance test #29

merged 20 commits into from May 13, 2021

Conversation

HemangChothani
Copy link
Contributor

No description provided.

@google-cla google-cla bot added the cla: yes This human has signed the Contributor License Agreement. label Mar 16, 2021
Copy link
Contributor

@larkee larkee left a comment

Choose a reason for hiding this comment

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

There's a lot of skipping relating to decimal which I'm concerned about. Would the changes included in #33 be relevant here?

test/test_suite.py Outdated Show resolved Hide resolved
test/test_suite.py Outdated Show resolved Hide resolved
@HemangChothani
Copy link
Contributor Author

All the tests passes once googleapis/python-spanner#290 PR merged.

@skuruppu skuruppu requested a review from vi3k6i5 April 29, 2021 04:54
@vi3k6i5
Copy link
Contributor

vi3k6i5 commented May 4, 2021

Tests look good to me. LGTM.

Copy link
Contributor

@vi3k6i5 vi3k6i5 left a comment

Choose a reason for hiding this comment

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

Test changes look good to me. Please wait for Skylar's approval before merging.

Copy link
Contributor

@larkee larkee left a comment

Choose a reason for hiding this comment

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

LGTM other than the nit

test/test_suite.py Outdated Show resolved Hide resolved
@HemangChothani
Copy link
Contributor Author

Failed test will be resolved by PR #62

of 38 and scale of 9.
"""
self._do_test(
Numeric(precision=18, scale=12),
Copy link
Contributor

Choose a reason for hiding this comment

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

We are overriding a number of tests because Spanner does not support scale>9. But these tests still uses Numeric with scale=12 or scale=14. I think it makes sense to change these Numerics to use scale=9. WDYT?

@larkee larkee merged commit 06a3844 into main May 13, 2021
@IlyaFaer IlyaFaer deleted the numeric_compliance_test branch November 17, 2021 10:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cla: yes This human has signed the Contributor License Agreement.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants