Skip to content

Commit 1f5c3bd

Browse files
committed
[tests] wait for countly after restart
1 parent 6b4a181 commit 1f5c3bd

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/main.yml

+4-4
Original file line numberDiff line numberDiff line change
@@ -44,10 +44,6 @@ jobs:
4444
shell: bash
4545
run: mongo --version
4646

47-
- name: Wait for Countly
48-
shell: bash
49-
run: until nc -z 127.0.0.1 3001; do echo Waiting for Countly; sleep 1; done
50-
5147
- name: Reinstall plugins
5248
shell: bash
5349
run: sudo bash ./bin/scripts/countly.install.plugins.sh
@@ -64,6 +60,10 @@ jobs:
6460
shell: bash
6561
run: sudo countly task dist-all
6662

63+
- name: Wait for Countly
64+
shell: bash
65+
run: until nc -z 127.0.0.1 3001; do echo Waiting for Countly; sleep 1; done
66+
6767
- name: Tests
6868
shell: bash
6969
run: sudo countly test

0 commit comments

Comments
 (0)