Skip to content

Commit

Permalink
Minimize E2E timeouts
Browse files Browse the repository at this point in the history
More reasonable timeouts for E2E
  • Loading branch information
razo7 committed Jun 25, 2023
1 parent b08bf77 commit ae7d1a2
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions test/e2e/far_e2e_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,9 @@ const (

//TODO: try to minimize timeout
// eventually parameters
timeoutLogs = 6 * time.Minute
timeoutReboot = 10 * time.Minute // fencing with fence_aws should be completed within 6 minutes
timeoutGetPod = 1 * time.Minute
timeoutLogs = 3 * time.Minute
timeoutReboot = 6 * time.Minute // fencing with fence_aws should be completed within 6 minutes
pollInterval = 10 * time.Second
)

Expand Down Expand Up @@ -259,7 +260,7 @@ func getFarPod() *corev1.Pod {
return nil
}
return pod
}, timeoutLogs, pollInterval).ShouldNot(BeNil(), "can't find the pod after timeout")
}, timeoutGetPod, pollInterval).ShouldNot(BeNil(), "can't find the pod after timeout")
return pod
}

Expand Down

0 comments on commit ae7d1a2

Please sign in to comment.