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

Commit a33501d

Browse files
committed
test: Add retry to realtime browser tests.
1 parent 7d11ea3 commit a33501d

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

.github/workflows/test-build.yml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -96,8 +96,13 @@ jobs:
9696
uses: streamr-dev/streamr-docker-dev-action@v1.0.0-alpha.3
9797
with:
9898
services-to-start: "mysql redis core-api cassandra parity-node0 parity-sidechain-node0 bridge broker-node-no-storage-1 broker-node-no-storage-2 broker-node-storage-1 nginx smtp"
99-
- name: Run Realtime Test
100-
run: npm run test-browser-realtime
99+
- uses: nick-invision/retry@v2
100+
name: Run Realtime Test
101+
with:
102+
max_attempts: 3
103+
timeout_minutes: 3
104+
retry_on: error
105+
command: npm run test-browser-realtime
101106

102107
browser-resend:
103108
name: Test Browser Realtime + Resend

0 commit comments

Comments
 (0)