Skip to content

Vision: Add negative Vision API Product Search tests for VPC SC#8269

Merged
busunkim96 merged 1 commit intogoogleapis:masterfrom
brendanlundy:vpcsc
Jun 10, 2019
Merged

Vision: Add negative Vision API Product Search tests for VPC SC#8269
busunkim96 merged 1 commit intogoogleapis:masterfrom
brendanlundy:vpcsc

Conversation

@brendanlundy
Copy link
Contributor

Verifies ProductSearch is blocked by VPC SC when trying to access a resource outside of a secure perimeter when run from within a secure perimeter.

…d by VPC SC when trying to access a resource outside of a secure perimeter when run from within a secure perimeter.
@brendanlundy brendanlundy requested a review from busunkim96 as a code owner June 10, 2019 05:06
@googlebot googlebot added the cla: yes This human has signed the Contributor License Agreement. label Jun 10, 2019
@busunkim96 busunkim96 added the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Jun 10, 2019
@yoshi-kokoro yoshi-kokoro removed the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Jun 10, 2019
LOGO_FILE = os.path.join(_SYS_TESTS_DIR, "data", "logo.png")
PDF_FILE = os.path.join(_SYS_TESTS_DIR, "data", "pdf_test.pdf")
PROJECT_ID = os.environ.get("PROJECT_ID")
PROJECT_OUTSIDE = os.environ.get("GOOGLE_CLOUD_TESTS_VPCSC_OUTSIDE_PERIMETER_PROJECT")
Copy link
Contributor

Choose a reason for hiding this comment

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

Should we be setting this environment variable in our tests environment? Or are these tests being run somewhere else?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

The VPC SC test is being run elsewhere. No need for you to set this environment variable.

@busunkim96 busunkim96 merged commit ce36af9 into googleapis:master Jun 10, 2019
@brendanlundy brendanlundy deleted the vpcsc branch June 16, 2019 04:45
parthea pushed a commit that referenced this pull request Oct 21, 2023
…d by VPC SC when trying to access a resource outside of a secure perimeter when run from within a secure perimeter. (#8269)
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