This PR updates the Supervisor test util function checkOutputLines to skip the current actual output if it contains "continue checking" line. This is to avoid failing the test in step_watch_source.go where the VM ingress IP may not be set immediately, causing retry.Config to output "continue checking" and retry.
Testing Done:
$ go test -count=100 -run ^TestWatchSource_Run$ github.com/hashicorp/packer-plugin-vsphere/builder/vsphere/supervisor
ok github.com/hashicorp/packer-plugin-vsphere/builder/vsphere/supervisor 100.849s
This PR updates the Supervisor test util function
checkOutputLines
to skip the current actual output if it contains "continue checking" line. This is to avoid failing the test instep_watch_source.go
where the VM ingress IP may not be set immediately, causingretry.Config
to output "continue checking" and retry.Testing Done: