Skip to content

Commit

Permalink
Fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
paunin committed Oct 26, 2019
1 parent 9b6aeea commit 5486113
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/pgsql-split-brain-isolated-standby/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,9 @@ sleep 60

SLAVE_EXIT=`docker-compose ps | grep pgslave3 | grep Exit | wc -l | tr -d ' '`
if [[ "$SLAVE_EXIT" != "1" ]]; then
echo '>>> Isolated slave should die!';
docker-compose ps
docker-compose logs pgslave3
echo '>>> Isolated slave should die!';
exit 1
fi

0 comments on commit 5486113

Please sign in to comment.