From c7247b9b174061024d139cb73869065d2bdf2fa6 Mon Sep 17 00:00:00 2001 From: Matt Rickard Date: Mon, 21 Aug 2017 21:38:48 -0700 Subject: [PATCH] Remove 30 second wait from start stop I removed this awhile ago, but I'm not sure how it snuck back in. The original issue was that the VM was getting a new IP, but the driver was parsing the leases file and still picking the old IP. So the only way to fix it was to wait for the old lease to expire. --- test/integration/start_stop_delete_test.go | 4 ---- 1 file changed, 4 deletions(-) mode change 100644 => 100755 test/integration/start_stop_delete_test.go diff --git a/test/integration/start_stop_delete_test.go b/test/integration/start_stop_delete_test.go old mode 100644 new mode 100755 index 3d1db664b..e77f88ff6 --- a/test/integration/start_stop_delete_test.go +++ b/test/integration/start_stop_delete_test.go @@ -47,10 +47,6 @@ func TestStartStop(t *testing.T) { t.Fatalf("IP command returned an invalid address: %s", ip) } - // TODO:r2d4 The KVM driver can't handle - // starting and stopping immediately - time.Sleep(30 * time.Second) - checkStop := func() error { runner.RunCommand("stop", true) return runner.CheckStatusNoFail(state.Stopped.String()) -- GitLab