Commit d3f927d
fix: support WatchListClient in test ListerWatcher wrappers
k8s.io/client-go v0.35.0 defaults the WatchListClient feature gate to
true, causing reflectors to require bookmark events. The fake clientset
handles this via IsWatchListSemanticsUnSupported(), but our custom
nodeListWatch and typhaListWatch wrappers in test/utils.go did not
implement this interface, causing informers to hang on HasSynced().
Add IsWatchListSemanticsUnSupported() to both wrappers so the reflector
falls back to the traditional list+watch flow.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent ba04c98 commit d3f927d
1 file changed
+15
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
165 | 165 | | |
166 | 166 | | |
167 | 167 | | |
168 | | - | |
169 | | - | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
| 171 | + | |
| 172 | + | |
| 173 | + | |
| 174 | + | |
| 175 | + | |
| 176 | + | |
170 | 177 | | |
171 | 178 | | |
172 | 179 | | |
| |||
184 | 191 | | |
185 | 192 | | |
186 | 193 | | |
| 194 | + | |
| 195 | + | |
| 196 | + | |
| 197 | + | |
| 198 | + | |
| 199 | + | |
187 | 200 | | |
188 | 201 | | |
189 | 202 | | |
| |||
0 commit comments