Skip to content
This repository was archived by the owner on Dec 21, 2021. It is now read-only.

Commit 21cf74a

Browse files
committed
build(client-testing): Retry client-testing once, reduce timeout from 10m to 3m.
Sometimes the late subscribers will miss a message.
1 parent 9f0dbb1 commit 21cf74a

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

.github/workflows/test-build.yml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,11 @@ jobs:
184184
npm install
185185
npm link streamr-client
186186
./gradlew fatjar
187-
- name: run-client-testing
188-
timeout-minutes: 10
187+
- uses: nick-invision/retry@v2
188+
name: run-client-testing
189189
working-directory: streamr-client-testing
190-
run: java -jar build/libs/client_testing-1.0-SNAPSHOT.jar -s $TEST_NAME -c config/$CONFIG_NAME.conf -n $NUM_MESSAGES
190+
with:
191+
max_attempts: 2
192+
timeout_minutes: 3
193+
retry_on: error
194+
command: java -jar build/libs/client_testing-1.0-SNAPSHOT.jar -s $TEST_NAME -c config/$CONFIG_NAME.conf -n $NUM_MESSAGES

0 commit comments

Comments
 (0)