Skip to content

Commit

Permalink
fix: update vsphere-supervisor test to skip output from retry
Browse files Browse the repository at this point in the history
  • Loading branch information
dilyar85 authored and Timothee Christin committed Nov 15, 2023
1 parent 2ca94bd commit fc24543
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion builder/vsphere/supervisor/utils_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit fc24543

Please sign in to comment.