Commit be4d8f1
committed
Fix NetworkNotReady pathological event regex case mismatch
The NetworkNotReady allowlist regex used "No CNI configuration file"
(capital N) but ocicni produces "no CNI configuration file" (lowercase
n). This case mismatch meant the allowlist never actually matched any
event during upgrade jobs, causing intermittent test failures when the
event count exceeded the threshold of 20.
Change the regex to match both cases with [Nn]o and add unit tests
that verify both the lowercase (real ocicni error) and uppercase
variants are correctly allowed.
Signed-off-by: Igal Tsoiref <itsoiref@redhat.com>
Made-with: Cursor1 parent ae654cc commit be4d8f1
2 files changed
Lines changed: 27 additions & 1 deletion
File tree
- pkg/monitortestlibrary/pathologicaleventlibrary
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
615 | 615 | | |
616 | 616 | | |
617 | 617 | | |
618 | | - | |
| 618 | + | |
619 | 619 | | |
620 | 620 | | |
621 | 621 | | |
| |||
Lines changed: 26 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
223 | 223 | | |
224 | 224 | | |
225 | 225 | | |
| 226 | + | |
| 227 | + | |
| 228 | + | |
| 229 | + | |
| 230 | + | |
| 231 | + | |
| 232 | + | |
| 233 | + | |
| 234 | + | |
| 235 | + | |
| 236 | + | |
| 237 | + | |
| 238 | + | |
| 239 | + | |
| 240 | + | |
| 241 | + | |
| 242 | + | |
| 243 | + | |
| 244 | + | |
| 245 | + | |
| 246 | + | |
| 247 | + | |
| 248 | + | |
| 249 | + | |
| 250 | + | |
| 251 | + | |
226 | 252 | | |
227 | 253 | | |
228 | 254 | | |
| |||
0 commit comments