From 514b2aa24391864595f8212b34edc16c08dfa209 Mon Sep 17 00:00:00 2001 From: Arturo Ojeda Date: Mon, 10 Apr 2023 09:29:19 -0600 Subject: [PATCH] Fix test case: console output message was not updated to display the current/total attempts --- test/cli/healthcheck_test.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/cli/healthcheck_test.rb b/test/cli/healthcheck_test.rb index 7a9df6eb..a3441a7e 100644 --- a/test/cli/healthcheck_test.rb +++ b/test/cli/healthcheck_test.rb @@ -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