File tree Expand file tree Collapse file tree 1 file changed +12
-0
lines changed
Expand file tree Collapse file tree 1 file changed +12
-0
lines changed Original file line number Diff line number Diff 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 :
You can’t perform that action at this time.
0 commit comments