Skip to content

Commit

Permalink
Fix tests. ping on fail output changed from unknown host to Name or s…
Browse files Browse the repository at this point in the history
…ervice not known
  • Loading branch information
sergey-zabolotny committed Nov 14, 2019
1 parent 93cb50e commit 73210b2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test.bats
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,6 @@ _healthcheck_wait ()
run ping -c 1 -t 1 www.google2.com
# Use case insensitive comparison (,, modifier), as ping produces different output on different platforms
[[ "${output,,}" != *"ping www.google2.com "* ]]
[[ "${output,,}" == *"unknown host"* ]]
[[ "${output,,}" == *"not known"* ]]
unset output
}

0 comments on commit 73210b2

Please sign in to comment.