diff --git a/provisioner/windows-restart/provisioner_test.go b/provisioner/windows-restart/provisioner_test.go index 05b6b204a..d4d42ba4f 100644 --- a/provisioner/windows-restart/provisioner_test.go +++ b/provisioner/windows-restart/provisioner_test.go @@ -242,6 +242,7 @@ func TestProvision_waitForCommunicator(t *testing.T) { p.comm = comm p.ui = ui comm.StartStderr = "WinRM terminated" + comm.StartStdout = "WIN-V4CEJ7MC5SN restarted." comm.StartExitStatus = 1 p.Prepare(config) err := waitForCommunicator(p)