provisioner/windows-restart: test fix
This commit is contained in:
parent
a53cc8b070
commit
7711e07f05
|
@ -34,7 +34,7 @@ func TestProvisionerPrepare_Defaults(t *testing.T) {
|
|||
t.Errorf("unexpected remote path: %s", p.config.RestartTimeout)
|
||||
}
|
||||
|
||||
if p.config.RestartCommand != "shutdown /r /c \"packer restart\" /t 5 && net stop winrm" {
|
||||
if p.config.RestartCommand != "powershell \"& {Restart-Computer -force }\"" {
|
||||
t.Errorf("unexpected remote path: %s", p.config.RestartCommand)
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue