Fix test case: console output message was not updated to display the current/total attempts

This commit is contained in:
Arturo Ojeda
2023-04-10 09:29:19 -06:00
parent 3969f56fa6
commit 514b2aa243

View File

@@ -23,8 +23,8 @@ class CliHealthcheckTest < CliTestCase
.returns("200")
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 2s...", 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 (attempt 2/7)...", output
assert_match "Health check against /up succeeded with 200 OK!", output
end
end