Skip to content

Commit

Permalink
try wait-for-it
Browse files Browse the repository at this point in the history
  • Loading branch information
Shinigami92 committed Feb 28, 2024
1 parent f5188f3 commit 68a3614
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/cockroach-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,8 @@ jobs:
run: |
docker pull cockroachdb/cockroach:v${{ matrix.cockroach_version }}
docker run -d --name roach --hostname roach -p 26257:26257 -p 8080:8080 cockroachdb/cockroach:v${{ matrix.cockroach_version }} start --insecure
dockerize -wait tcp://127.0.0.1:26257 -timeout 60s
sudo apt update && sudo apt install wait-for-it -y
wait-for-it -h localhost -p 26257
docker exec roach bash -c "echo 'CREATE DATABASE integration_test;' | cockroach sql --insecure"
- name: Integration Test
Expand Down

0 comments on commit 68a3614

Please sign in to comment.