Commit d0b1ca9
[kuttl] Drop null Job pod template creationTimestamp asserts
cifmw-multinode-kuttl started failing this test after the GitHub check
jobs moved from OCP 4.20 to 4.22. The dataplane deploy itself succeeds;
KUTTL then compares live Jobs against a full YAML dump that still has
Job.spec.template.metadata.creationTimestamp: null (leftover from
oc get -o yaml).
On 4.20 the API still serialized that null key, so the assert matched.
On 4.22 Kubernetes omits empty creationTimestamp (omitempty), so the
key is missing from the live object. KUTTL waits the full timeout for a
field that will never appear, then fails with:
.spec.template.metadata.creationTimestamp: key is missing from map
Remove the dumped null fields from the Job asserts so the test does not
depend on that serialization difference.
Signed-off-by: Nemanja Marjanovic <nemarjan@redhat.com>
Co-authored-by: Cursor <cursoragent@cursor.com>1 parent 84322c7 commit d0b1ca9
2 files changed
Lines changed: 0 additions & 15 deletions
Lines changed: 0 additions & 13 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
205 | 205 | | |
206 | 206 | | |
207 | 207 | | |
208 | | - | |
209 | 208 | | |
210 | 209 | | |
211 | 210 | | |
| |||
303 | 302 | | |
304 | 303 | | |
305 | 304 | | |
306 | | - | |
307 | 305 | | |
308 | 306 | | |
309 | 307 | | |
| |||
407 | 405 | | |
408 | 406 | | |
409 | 407 | | |
410 | | - | |
411 | 408 | | |
412 | 409 | | |
413 | 410 | | |
| |||
505 | 502 | | |
506 | 503 | | |
507 | 504 | | |
508 | | - | |
509 | 505 | | |
510 | 506 | | |
511 | 507 | | |
| |||
603 | 599 | | |
604 | 600 | | |
605 | 601 | | |
606 | | - | |
607 | 602 | | |
608 | 603 | | |
609 | 604 | | |
| |||
701 | 696 | | |
702 | 697 | | |
703 | 698 | | |
704 | | - | |
705 | 699 | | |
706 | 700 | | |
707 | 701 | | |
| |||
848 | 842 | | |
849 | 843 | | |
850 | 844 | | |
851 | | - | |
852 | 845 | | |
853 | 846 | | |
854 | 847 | | |
| |||
957 | 950 | | |
958 | 951 | | |
959 | 952 | | |
960 | | - | |
961 | 953 | | |
962 | 954 | | |
963 | 955 | | |
| |||
1096 | 1088 | | |
1097 | 1089 | | |
1098 | 1090 | | |
1099 | | - | |
1100 | 1091 | | |
1101 | 1092 | | |
1102 | 1093 | | |
| |||
1235 | 1226 | | |
1236 | 1227 | | |
1237 | 1228 | | |
1238 | | - | |
1239 | 1229 | | |
1240 | 1230 | | |
1241 | 1231 | | |
| |||
1344 | 1334 | | |
1345 | 1335 | | |
1346 | 1336 | | |
1347 | | - | |
1348 | 1337 | | |
1349 | 1338 | | |
1350 | 1339 | | |
| |||
1453 | 1442 | | |
1454 | 1443 | | |
1455 | 1444 | | |
1456 | | - | |
1457 | 1445 | | |
1458 | 1446 | | |
1459 | 1447 | | |
| |||
1562 | 1550 | | |
1563 | 1551 | | |
1564 | 1552 | | |
1565 | | - | |
1566 | 1553 | | |
1567 | 1554 | | |
1568 | 1555 | | |
| |||
Lines changed: 0 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
98 | 98 | | |
99 | 99 | | |
100 | 100 | | |
101 | | - | |
102 | 101 | | |
103 | 102 | | |
104 | 103 | | |
| |||
195 | 194 | | |
196 | 195 | | |
197 | 196 | | |
198 | | - | |
199 | 197 | | |
200 | 198 | | |
201 | 199 | | |
| |||
0 commit comments