Skip to content

Commit 4bf2526

Browse files
committed
change the default wait and poll intervals
I don't see a reason to wait 5 seconds. We could poll more often and make default operations faster. This also reduces the acceptance tests runtime on my machine from 10m to 2m.
1 parent 9a9a9ee commit 4bf2526

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

libvirt/timeout.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,6 @@ import (
66

77
const (
88
resourceStateTimeout = 1 * time.Minute
9-
resourceStateDelay = 5 * time.Second
10-
resourceStateMinTimeout = 3 * time.Second
9+
resourceStateDelay = 200 * time.Millisecond
10+
resourceStateMinTimeout = 100 * time.Millisecond
1111
)

0 commit comments

Comments
 (0)