Skip to content

Commit 7a3a74d

Browse files
steinwaywhwtseaver
authored andcommitted
fix(monitoring): make VPCSC env comparison case-insensitive (#9564)
1 parent 605cb42 commit 7a3a74d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

monitoring/noxfile.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,8 @@ def system(session):
122122
session.install("-e", ".")
123123

124124
# Additional setup for VPCSC system tests
125-
if os.environ.get("GOOGLE_CLOUD_TESTS_IN_VPCSC") != "true":
125+
in_vpc = os.environ.get("GOOGLE_CLOUD_TESTS_IN_VPCSC", "false")
126+
if in_vpc.lower() != "true":
126127
# Unset PROJECT_ID, since VPCSC system tests expect this to be a project
127128
# within the VPCSC perimeter.
128129
env = {

0 commit comments

Comments
 (0)