Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions tests/e2e/util_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -596,7 +596,7 @@ func GenerateVMOPWithSuffix(vmName, suffix string, labels map[string]string, vmo
func StopVirtualMachinesBySSH(virtualMachines ...string) {
GinkgoHelper()

cmd := "sudo poweroff"
cmd := "sudo poweroff -f"

for _, vm := range virtualMachines {
ExecSshCommand(vm, cmd)
Expand All @@ -606,7 +606,7 @@ func StopVirtualMachinesBySSH(virtualMachines ...string) {
func RebootVirtualMachinesBySSH(virtualMachines ...string) {
GinkgoHelper()

cmd := "sudo reboot"
cmd := "sudo reboot -f"

for _, vm := range virtualMachines {
ExecSshCommand(vm, cmd)
Expand Down
2 changes: 1 addition & 1 deletion tests/e2e/vm_configuration_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,7 @@ var _ = Describe("Virtual machine configuration", ginkgoutil.CommonE2ETestDecora

vms := strings.Split(res.StdOut(), " ")
for _, vm := range vms {
cmd := "sudo reboot"
cmd := "sudo reboot -f"
ExecSshCommand(vm, cmd)
}
WaitVmAgentReady(kc.WaitOptions{
Expand Down
Loading