Skip to content

Commit

Permalink
Run docker/podman diff on stopped containers as well.
Browse files Browse the repository at this point in the history
  • Loading branch information
adelton committed Oct 10, 2023
1 parent 6a63fc2 commit eade61e
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions tests/run-master-and-replica.sh
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,10 @@ function wait_for_ipa_container() {
if [ "$EXIT_STATUS" -ne 0 ] ; then
exit "$EXIT_STATUS"
fi
if $docker exec "$N" grep '^2' /data/volume-version \
&& $docker diff "$N" | tee /dev/stderr | grep . ; then
if ! $sudo grep '^2' $VOLUME/volume-version ; then
exit 1
fi
if $docker diff "$N" | tee /dev/stderr | grep . ; then
exit 1
fi
MACHINE_ID=$( cat $VOLUME/etc/machine-id )
Expand Down

0 comments on commit eade61e

Please sign in to comment.