Skip to content

chore: Modify integration tests to support VPC-SC environment#262

Merged
vinnysenthil merged 4 commits into
googleapis:devfrom
vinnysenthil:vpcsc-system-tests
Mar 16, 2021
Merged

chore: Modify integration tests to support VPC-SC environment#262
vinnysenthil merged 4 commits into
googleapis:devfrom
vinnysenthil:vpcsc-system-tests

Conversation

@vinnysenthil

Copy link
Copy Markdown
Contributor

Fixes part of b/178500935 and unblocks cl/362114575 🦕

@vinnysenthil vinnysenthil requested review from a team and sasha-gitg March 15, 2021 21:19
@google-cla google-cla Bot added the cla: yes This human has signed the Contributor License Agreement. label Mar 15, 2021
@vinnysenthil vinnysenthil requested a review from busunkim96 March 15, 2021 21:19
Comment thread noxfile.py Outdated
if not os.environ.get("GOOGLE_APPLICATION_CREDENTIALS", ""):
session.skip("Credentials must be set via environment variable")

# Set test artifact bucket env var for system tests

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.

Synthtool will attempt to overwrite these lines since the noxfile.py is templated.

Options:

  • Add a s.replace(...) in synth.py that adds in these lines (example)
  • Move the env var setting to the top of tests/system/aiplatform/test_dataset.py

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Thanks for catching this, taking option 2 and moving to tests/system/aiplatform/test_dataset.py

@vinnysenthil vinnysenthil merged commit 9dff2a6 into googleapis:dev Mar 16, 2021
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.

3 participants