Skip to content

Commit 3eef90d

Browse files
committed
Should fail
1 parent 4031688 commit 3eef90d

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

internal/provider/tests/acceptance/setup/acceptance_test_env_prepare.go

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,6 @@ func IsTestVMRunning(host string) bool {
106106
if errr != nil {
107107
log.Fatal(errr)
108108
}
109-
fmt.Println("Response Status:", result)
110109
return result[0]["state"] != "SHUTOFF"
111110
}
112111

@@ -141,16 +140,13 @@ func main() {
141140

142141
if !DoesTestVMExist(host) {
143142
log.Fatal("Test VM is missing")
144-
os.Exit(1)
145143
}
146144

147145
if IsTestVMRunning(host) {
148146
log.Fatal("Test VM is RUNNING and should be turned off before the testing begins")
149-
os.Exit(1)
150147
}
151148

152149
if !DoesVirtualDiskExist(host) {
153150
log.Fatal("Test Virtual disk is missing")
154-
os.Exit(1)
155151
}
156152
}

0 commit comments

Comments
 (0)