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