Skip to content

Commit

Permalink
wait on listening port inside container
Browse files Browse the repository at this point in the history
  • Loading branch information
dantengsky committed May 10, 2022
1 parent 5bac618 commit 0129d0b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/actions/test_stateful_hive_standalone/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ runs:
echo "*** diganostic info ***"
docker ps
ss -ltn
docker-compose -f "./docker/it-hive/hive-docker-compose.yml" exec -T hive-server bash -c "timeout 15 bash -c 'until nc -z localhost 10000; do sleep 1; echo "..."; done'; /opt/hive/bin/beeline -u jdbc:hive2://127.0.0.1:10000 -e 'CREATE TABLE if not exists pokes (foo INT);'"
docker-compose -f "./docker/it-hive/hive-docker-compose.yml" exec -T hive-server bash -c "timeout 50 bash -c 'until nc -z localhost 10000; do sleep 1; echo "..."; done'; /opt/hive/bin/beeline -u jdbc:hive2://127.0.0.1:10000 -e 'CREATE TABLE if not exists pokes (foo INT);'"
# - name: Run Stateful Tests with Standalone mode
# shell: bash
Expand Down

0 comments on commit 0129d0b

Please sign in to comment.