Commit be061ef
authored
Increase poll timings for all ContainerSource tests (#8862)
fix(test): increase poll timings for all ContainerSource tests
All ContainerSource tests were timing out after the default 2 minutes
waiting for the ContainerSource resource to become ready or be deleted.
Added environment.WithPollTimings(5*time.Second, 4*time.Minute) to all
six ContainerSource tests to allow up to 4 minutes for:
- Resource creation and readiness checks
- Resource cleanup and deletion
This fixes the timeout in TestContainerSourceSendsEventsWithOIDC:
"wait.go:136: containersource-nggzhiqj not found containersources.sources.knative.dev"
Tests updated:
- TestContainerSourceWithSinkRef
- TestContainerSourceWithSinkURI
- TestContainerSourceWithCloudEventOverrides
- TestContainerSourceWithArgs
- TestContainerSourceWithTLS
- TestContainerSourceSendsEventsWithOIDC1 parent 47d1156 commit be061ef
1 file changed
+7
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
| 24 | + | |
24 | 25 | | |
25 | 26 | | |
26 | 27 | | |
| |||
40 | 41 | | |
41 | 42 | | |
42 | 43 | | |
| 44 | + | |
43 | 45 | | |
44 | 46 | | |
45 | 47 | | |
| |||
55 | 57 | | |
56 | 58 | | |
57 | 59 | | |
| 60 | + | |
58 | 61 | | |
59 | 62 | | |
60 | 63 | | |
| |||
69 | 72 | | |
70 | 73 | | |
71 | 74 | | |
| 75 | + | |
72 | 76 | | |
73 | 77 | | |
74 | 78 | | |
| |||
83 | 87 | | |
84 | 88 | | |
85 | 89 | | |
| 90 | + | |
86 | 91 | | |
87 | 92 | | |
88 | 93 | | |
| |||
98 | 103 | | |
99 | 104 | | |
100 | 105 | | |
| 106 | + | |
101 | 107 | | |
102 | 108 | | |
103 | 109 | | |
| |||
114 | 120 | | |
115 | 121 | | |
116 | 122 | | |
| 123 | + | |
117 | 124 | | |
118 | 125 | | |
119 | 126 | | |
| |||
0 commit comments