Skip to content

Commit cdcc56a

Browse files
committed
patience
1 parent 8c7f26a commit cdcc56a

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

.github/workflows/flow.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
runner: [blacksmith-16vcpu-ubuntu-2404]
1919
db-version: [{pg: 15, mysql: 'mysql-gtid', mongo: '6.0'}, {pg: 16, mysql: 'mysql-pos', mongo: '7.0'}, {pg: 17, mysql: 'maria', mongo: '8.0'}]
2020
runs-on: ${{ matrix.runner }}
21-
timeout-minutes: 30
21+
timeout-minutes: 180
2222
services:
2323
catalog:
2424
image: imresamu/postgis:${{ matrix.db-version.pg }}-3.5-alpine
@@ -362,7 +362,7 @@ jobs:
362362
./peer-flow worker &
363363
./peer-flow snapshot-worker &
364364
./peer-flow api --port 8112 --gateway-port 8113 &
365-
go test -cover -coverpkg github.com/PeerDB-io/peerdb/flow/... -p 32 ./... -timeout 900s -args -test.gocoverdir="$PWD/coverage"
365+
go test -cover -coverpkg github.com/PeerDB-io/peerdb/flow/... -p 32 ./... -timeout 9000s -args -test.gocoverdir="$PWD/coverage"
366366
killall peer-flow
367367
sleep 1
368368
go tool covdata textfmt -i=coverage -o ../coverage.out

flow/e2e/test_utils.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -754,6 +754,7 @@ func EnvEqualRecordBatches(t *testing.T, env WorkflowRun, q *model.QRecordBatch,
754754
}
755755

756756
func EnvWaitFor(t *testing.T, env WorkflowRun, timeout time.Duration, reason string, f func() bool) {
757+
timeout = time.Hour * 2
757758
t.Helper()
758759
t.Log("WaitFor", reason, time.Now())
759760

0 commit comments

Comments
 (0)