From e646872c93b9b8b3156ba4af6cdd269afa66b2c9 Mon Sep 17 00:00:00 2001 From: Sai Diliyaer Date: Thu, 9 Nov 2023 10:41:15 -0500 Subject: [PATCH] fix: update vsphere-supervisor test to skip output from retry --- builder/vsphere/supervisor/utils_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/builder/vsphere/supervisor/utils_test.go b/builder/vsphere/supervisor/utils_test.go index 0c88d7c3..1519ab71 100644 --- a/builder/vsphere/supervisor/utils_test.go +++ b/builder/vsphere/supervisor/utils_test.go @@ -71,7 +71,7 @@ func readLine(t *testing.T, writer *bytes.Buffer) string { // Skip "continue checking" line as it can be printed from the retry. if strings.Contains(actual, "continue checking") { - readLine(t, writer) + return readLine(t, writer) } return strings.TrimSpace(actual)