Merge pull request #5227 from hashicorp/fix-flaky-test

fix test that flaked in a travis build recently
This commit is contained in:
Matthew Hooker 2017-08-08 12:28:33 -07:00 committed by GitHub
commit 9b88ec975a
1 changed files with 0 additions and 4 deletions

View File

@ -229,10 +229,6 @@ func TestStepCreateInstance_errorTimeout(t *testing.T) {
state.Put("ssh_public_key", "key") state.Put("ssh_public_key", "key")
errCh := make(chan error, 1) errCh := make(chan error, 1)
go func() {
<-time.After(10 * time.Millisecond)
errCh <- nil
}()
config := state.Get("config").(*Config) config := state.Get("config").(*Config)
config.stateTimeout = 1 * time.Microsecond config.stateTimeout = 1 * time.Microsecond