Skip to content

Commit 7c513ca

Browse files
committed
Merge branch 'feature/BB-745-speed-up-ci' into tmp/octopus/w/9.1/feature/BB-745-speed-up-ci
2 parents 1c3baaa + 18f8666 commit 7c513ca

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

.github/workflows/tests.yaml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -221,6 +221,18 @@ jobs:
221221
- name: Install node dependencies
222222
run: yarn install --ignore-engines --frozen-lockfile --network-concurrency 1
223223

224+
- name: Wait for services
225+
run: |
226+
echo "Waiting for Kafka..."
227+
timeout 60 bash -c 'until nc -z localhost 9092; do sleep 1; done'
228+
echo "Waiting for Zookeeper..."
229+
timeout 60 bash -c 'until nc -z localhost 2181; do sleep 1; done'
230+
echo "Waiting for Redis..."
231+
timeout 60 bash -c 'until nc -z localhost 6379; do sleep 1; done'
232+
echo "Waiting for MongoDB..."
233+
timeout 60 bash -c 'until nc -z localhost 27017; do sleep 1; done'
234+
echo "All services ready"
235+
224236
- name: Run ${{ matrix.testsuite }} tests
225237
uses: ./.github/actions/ft-test
226238
with:

0 commit comments

Comments
 (0)