Skip to content

Commit 05c70ef

Browse files
committed
chore: run tests in parallel
1 parent ab49241 commit 05c70ef

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

.cl/cloudbuild.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ steps:
2424
- |
2525
pip install nox
2626
nox -s system-3.13
27+
waitFor: ["-"]
2728
- id: run integration tests 3.9
2829
name: python:3.9
2930
entrypoint: bash
@@ -35,6 +36,7 @@ steps:
3536
- |
3637
pip install nox
3738
nox -s system-3.9
39+
waitFor: ["-"]
3840
availableSecrets:
3941
secretManager:
4042
- versionName: 'projects/$PROJECT_ID/secrets/MYSQL_CONNECTION_NAME/versions/latest'

tests/system/test_asyncpg_connection.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,9 @@ async def getconn(
147147
user=user,
148148
password=password,
149149
db=db,
150-
ip_type="private", # can also be "private" or "psc",
150+
ip_type=os.environ.get(
151+
"IP_TYPE", "public"
152+
), # can also be "private" or "psc",
151153
**kwargs,
152154
)
153155
return conn

0 commit comments

Comments
 (0)