try to fix transient test failure
This commit is contained in:
parent
753d3cf216
commit
c28a50af16
|
@ -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()
|
||||||
|
|
Loading…
Reference in New Issue