Skip to content

Commit d0fd32f

Browse files
committed
Reduce TestProjectRequestError flakiness
A processing delay delay between the projectrequest DELETE of a namespace and the namespace controller's handling of the event combined with the deletion grace period often adds up to more time than the test allows for namespace deletion. Increase the timeout to reduce flakiness.
1 parent 188906e commit d0fd32f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/integration/project_request_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ func TestProjectRequestError(t *testing.T) {
101101
case watch.Deleted:
102102
deleted++
103103
}
104-
case <-time.After(10 * time.Second):
104+
case <-time.After(30 * time.Second):
105105
return added, deleted, events
106106
}
107107

0 commit comments

Comments
 (0)