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 @@ -203,6 +203,18 @@ jobs:
203203 - name : Install node dependencies
204204 run : yarn install --ignore-engines --frozen-lockfile --network-concurrency 1
205205
206+ - name : Wait for services
207+ run : |
208+ echo "Waiting for Kafka..."
209+ timeout 60 bash -c 'until nc -z localhost 9092; do sleep 1; done'
210+ echo "Waiting for Zookeeper..."
211+ timeout 60 bash -c 'until nc -z localhost 2181; do sleep 1; done'
212+ echo "Waiting for Redis..."
213+ timeout 60 bash -c 'until nc -z localhost 6379; do sleep 1; done'
214+ echo "Waiting for MongoDB..."
215+ timeout 60 bash -c 'until nc -z localhost 27017; do sleep 1; done'
216+ echo "All services ready"
217+
206218 - name : Run ${{ matrix.testsuite }} tests
207219 uses : ./.github/actions/ft-test
208220 with :
You can’t perform that action at this time.
0 commit comments