Skip to content

Commit 42e5e0c

Browse files
committed
Increase the timeout to make the test less flaky
1 parent 80ebb65 commit 42e5e0c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/e2e/util.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -740,7 +740,7 @@ func NewClientConfigForTest(t *testing.T) *rest.Config {
740740

741741
func WaitForClusterOperatorStatus(t *testing.T, client configv1client.ConfigV1Interface, available, progressing, degraded *bool) error {
742742
status := map[configv1.ClusterStatusConditionType]bool{} // struct for easy printing the conditions
743-
return wait.PollImmediate(time.Second, 5*time.Minute, func() (bool, error) {
743+
return wait.PollImmediate(time.Second, 10*time.Minute, func() (bool, error) {
744744
clusterOperator, err := client.ClusterOperators().Get(context.TODO(), "authentication", metav1.GetOptions{})
745745
if errors.IsNotFound(err) {
746746
t.Logf("clusteroperators.config.openshift.io/authentication: %v", err)

0 commit comments

Comments
 (0)