Skip to content

Commit aa1d026

Browse files
authored
chore(ci): Constrain Redshift drivers tests to run 1 test suite at time (#10102)
1 parent cf96d67 commit aa1d026

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

.github/workflows/drivers-tests.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -241,6 +241,13 @@ jobs:
241241
# secrets as job-level environment variables, then referencing the environment variables
242242
# to conditionally run steps in the job.
243243
DRIVERS_TESTS_ATHENA_CUBEJS_AWS_KEY: ${{ secrets.DRIVERS_TESTS_ATHENA_CUBEJS_AWS_KEY }}
244+
245+
# redshift Test Serverless Instance is so tiny that it can't serve a few test suites at once,
246+
# so we constrain it to 1 test suite at time.
247+
concurrency:
248+
group: ${{ contains(matrix.database, 'redshift') && 'redshift-global' || format('drivers-tests-{0}-{1}', matrix.database, github.run_id) }}
249+
cancel-in-progress: false
250+
244251
strategy:
245252
matrix:
246253
database:

0 commit comments

Comments
 (0)