-
Notifications
You must be signed in to change notification settings - Fork 97
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
make some of our snowflake and bigquery tests run in parallel (#640)
- Loading branch information
1 parent
173571e
commit fdf7bbc
Showing
9 changed files
with
563 additions
and
333 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -41,12 +41,12 @@ jobs: | |
- name: install gotestsum | ||
run: | | ||
go install gotest.tools/gotestsum@latest | ||
- name: install lib-geos | ||
run: | | ||
sudo apt-get update | ||
sudo apt-get install libgeos-dev | ||
- name: download go modules | ||
run: | | ||
go mod download | ||
|
@@ -65,14 +65,14 @@ jobs: | |
with: | ||
name: "snowflake_creds.json" | ||
json: ${{ secrets.SNOWFLAKE_GH_CI_PKEY }} | ||
|
||
- name: setup S3 credentials | ||
id: s3-credentials | ||
uses: jsdaniell/[email protected] | ||
with: | ||
name: "s3_creds.json" | ||
json: ${{ secrets.S3_CREDS }} | ||
|
||
- name: setup GCS credentials | ||
id: gcs-credentials | ||
uses: jsdaniell/[email protected] | ||
|
@@ -86,6 +86,7 @@ jobs: | |
docker exec pg_cdc psql -h localhost -p 5432 -U postgres -c "ALTER SYSTEM SET wal_level=logical;" | ||
docker exec pg_cdc psql -h localhost -p 5432 -U postgres -c "ALTER SYSTEM SET max_replication_slots=100;" | ||
docker exec pg_cdc psql -h localhost -p 5432 -U postgres -c "ALTER SYSTEM SET max_wal_senders=100;" | ||
docker exec pg_cdc psql -h localhost -p 5432 -U postgres -c "ALTER SYSTEM SET max_connections=1024;" | ||
docker restart pg_cdc | ||
working-directory: ./flow | ||
env: | ||
|
@@ -94,7 +95,7 @@ jobs: | |
|
||
- name: run tests | ||
run: | | ||
gotestsum --format testname -- -p 4 ./... -timeout 2400s | ||
gotestsum --format testname -- -p 32 ./... -timeout 2400s | ||
working-directory: ./flow | ||
env: | ||
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }} | ||
|
@@ -114,3 +115,9 @@ jobs: | |
SQLSERVER_USER: ${{ secrets.SQLSERVER_USER }} | ||
SQLSERVER_PASSWORD: ${{ secrets.SQLSERVER_PASSWORD }} | ||
SQLSERVER_DB: ${{ secrets.SQLSERVER_DB }} | ||
PEERDB_CATALOG_HOST: localhost | ||
PEERDB_CATALOG_PORT: 7132 | ||
PEERDB_CATALOG_USER: postgres | ||
PEERDB_CATALOG_PASSWORD: postgres | ||
PEERDB_CATALOG_DATABASE: postgres | ||
PEERDB_CDC_IDLE_TIMEOUT_SECONDS: 3 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.