try to fix transient test failure

This commit is contained in:
Matthew Hooker 2017-11-30 16:30:28 -08:00
parent 753d3cf216
commit c28a50af16
No known key found for this signature in database
GPG Key ID: 7B5F933D9CE8C6A1
1 changed files with 1 additions and 1 deletions

View File

@ -67,7 +67,7 @@ func TestProvisionHook_cancel(t *testing.T) {
p := &MockProvisioner{ p := &MockProvisioner{
ProvFunc: func() error { ProvFunc: func() error {
time.Sleep(50 * time.Millisecond) time.Sleep(100 * time.Millisecond)
lock.Lock() lock.Lock()
defer lock.Unlock() defer lock.Unlock()