Skip to content

AutoML Tables: Skip relevant system tests if in VPCSC#9111

Merged
busunkim96 merged 3 commits intogoogleapis:masterfrom
lwander:vpc-sc-ready
Aug 27, 2019
Merged

AutoML Tables: Skip relevant system tests if in VPCSC#9111
busunkim96 merged 3 commits intogoogleapis:masterfrom
lwander:vpc-sc-ready

Conversation

@lwander
Copy link
Copy Markdown
Contributor

@lwander lwander commented Aug 27, 2019

Unfortunately a large number of tests need to be skipped, since they
depend on model/dataset creation, which only works when we have access
to a bucket in the project under test. Since we are using a publicly
readable bucket, this does not work.

Unfortunately a large number of tests need to be skipped, since they
depend on model/dataset creation, which only works when we have access
to a bucket in the project under test. Since we are using a publicly
readable bucket, this does not work.
@lwander lwander requested a review from busunkim96 as a code owner August 27, 2019 12:39
@googlebot googlebot added the cla: yes This human has signed the Contributor License Agreement. label Aug 27, 2019
Comment thread automl/tests/system/gapic/v1beta1/test_system_tables_client_v1.py Outdated
@busunkim96 busunkim96 added the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Aug 27, 2019
@yoshi-kokoro yoshi-kokoro removed the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Aug 27, 2019
@busunkim96
Copy link
Copy Markdown
Contributor

@lwander It looks like you need an import:

_ ERROR collecting tests/system/gapic/v1beta1/test_system_tables_client_v1.py __
tests/system/gapic/v1beta1/test_system_tables_client_v1.py:47: in <module>
    class TestSystemTablesClient(object):
tests/system/gapic/v1beta1/test_system_tables_client_v1.py:85: in TestSystemTablesClient
    @unittest.skipIf(RUNNING_IN_VPCSC, "Test is not VPCSC compatible.")
E   NameError: name 'unittest' is not defined

Is this the last set of changes you'll be making to the AutoML client for the upcoming release?

@lwander
Copy link
Copy Markdown
Contributor Author

lwander commented Aug 27, 2019

@busunkim96 good catch.

Almost, @TrucHLe & @jonathan1920 have changes they need to submit

@lwander lwander force-pushed the vpc-sc-ready branch 2 times, most recently from 462232a to fbef97d Compare August 27, 2019 18:25
@busunkim96 busunkim96 added the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Aug 27, 2019
@yoshi-kokoro yoshi-kokoro removed the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Aug 27, 2019
@busunkim96 busunkim96 merged commit 0c932c0 into googleapis:master Aug 27, 2019
HemangChothani pushed a commit to HemangChothani/google-cloud-python that referenced this pull request Aug 29, 2019
emar-kar pushed a commit to MaxxleLLC/google-cloud-python that referenced this pull request Sep 18, 2019
parthea pushed a commit that referenced this pull request Oct 21, 2023
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.

4 participants