Skip to content

Commit

Permalink
Update tests/integration/federation/test.sh
Browse files Browse the repository at this point in the history
Co-authored-by: Mark Goddard <[email protected]>
  • Loading branch information
jsnctl and markgoddard authored Nov 21, 2024
1 parent 3f53c4c commit 13f9f48
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/integration/federation/test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -80,10 +80,10 @@ function wait_for_pong() {
}

function post_deploy() {
if ./cofidectl federation list | grep Healthy; then
return
federations=$(./cofidectl federation list)
if echo "$federations" | grep Unhealthy >/dev/null; then
return 1
fi
exit 1
}

function down() {
Expand Down

0 comments on commit 13f9f48

Please sign in to comment.