Skip to content

Commit

Permalink
add --no-trunc to docker ps for full container ids
Browse files Browse the repository at this point in the history
  • Loading branch information
HadronCollider committed Mar 12, 2024
1 parent a9e6a0c commit d92daf7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/scripts/docker_check_tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ container_id=$(docker-compose -f docker-compose-tests.yml ps -q $service)

while true; do

if docker ps -a -q | grep -q "^${container_id}$"; then
if docker ps -a -q --no-trunc| grep -q "^${container_id}$"; then
if docker inspect --format='{{.State.Running}}' "$container_id" | grep -q "false"; then
echo "tests are finished"
EXIT_CODE=$(docker inspect "$container_id" --format='{{.State.ExitCode}}')
Expand Down

0 comments on commit d92daf7

Please sign in to comment.