Skip to content

Commit 1bce75b

Browse files
authored
CI: Bump e2e timeout to 20' (#4299)
Most of our successful CI e2e executions finish in the last 10'' before the 900'' (15') timeout. This means that most of the runs are close to hit the timeout and the slightest delay leads to a failed e2e run which. <img width="1808" height="1386" alt="image" src="https://github.com/user-attachments/assets/3aa0a5a3-9676-4f3a-b1b1-b814e04028b2" /> This process repeats several times until a run is fast enough per commit, per PR. This PR bumps the timeout to 20' with the expectation of ending up with faster (no retries) and more predictable builds.
1 parent 36b3afa commit 1bce75b

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/flow.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -557,7 +557,7 @@ jobs:
557557
./peer-flow worker > ../logs/peer-flow-worker.log 2>&1 &
558558
./peer-flow snapshot-worker > ../logs/peer-flow-snapshot-worker.log 2>&1 &
559559
./peer-flow api --port 8112 --gateway-port 8113 > ../logs/peer-flow-api.log 2>&1 &
560-
gotestsum --format standard-quiet --no-color --junitfile ../logs/test-results.xml -- -cover -coverpkg github.com/PeerDB-io/peerdb/flow/... -p 32 ./... -timeout 900s -args -test.gocoverdir="$PWD/coverage"
560+
gotestsum --format standard-quiet --no-color --junitfile ../logs/test-results.xml -- -cover -coverpkg github.com/PeerDB-io/peerdb/flow/... -p 32 ./... -timeout 1200s -args -test.gocoverdir="$PWD/coverage"
561561
killall peer-flow
562562
sleep 1
563563
go tool covdata textfmt -i=coverage -o ../coverage.out
@@ -697,4 +697,4 @@ jobs:
697697
exit 2
698698
fi
699699
echo "Number of ingested test results: $WRITTEN_ROWS"
700-
exit 0
700+
exit 0

0 commit comments

Comments
 (0)