Fix test case: console output message was not updated to display the current/total attempts
This commit is contained in:
@@ -23,8 +23,8 @@ class CliHealthcheckTest < CliTestCase
|
|||||||
.returns("200")
|
.returns("200")
|
||||||
|
|
||||||
run_command("perform").tap do |output|
|
run_command("perform").tap do |output|
|
||||||
assert_match "Health check against /up failed to respond, retrying in 1s...", output
|
assert_match "Health check against /up failed to respond, retrying in 1s (attempt 1/7)...", output
|
||||||
assert_match "Health check against /up failed to respond, retrying in 2s...", output
|
assert_match "Health check against /up failed to respond, retrying in 2s (attempt 2/7)...", output
|
||||||
assert_match "Health check against /up succeeded with 200 OK!", output
|
assert_match "Health check against /up succeeded with 200 OK!", output
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|||||||
Reference in New Issue
Block a user