From 3f7c090f3b78bea6d9bf65c00f6905b73cdd1b32 Mon Sep 17 00:00:00 2001 From: Megan Marsh Date: Tue, 8 Aug 2017 12:25:12 -0700 Subject: [PATCH] fix test that flaked in a travis build recently --- builder/googlecompute/step_create_instance_test.go | 4 ---- 1 file changed, 4 deletions(-) diff --git a/builder/googlecompute/step_create_instance_test.go b/builder/googlecompute/step_create_instance_test.go index 00e842963..a9a91d692 100644 --- a/builder/googlecompute/step_create_instance_test.go +++ b/builder/googlecompute/step_create_instance_test.go @@ -229,10 +229,6 @@ func TestStepCreateInstance_errorTimeout(t *testing.T) { state.Put("ssh_public_key", "key") errCh := make(chan error, 1) - go func() { - <-time.After(10 * time.Millisecond) - errCh <- nil - }() config := state.Get("config").(*Config) config.stateTimeout = 1 * time.Microsecond