Commit 8df10e6
committed
Improve logic to fix functional tests
- latest-deployment sort returned 1 on equal/missing Ready
transition times and same-second transitions would pick
an arbitrary "latest". Tie-break on creationTimestamp,
then name.
- nodeset controller is purely event-driven; coalesced watch
events left a stale "running" verdict unreconciled until
timeout. Requeue after 15s while a deployment is running
- log the previously silent config-hash mismatch so a stuck
nodeset is diagnosable from logs
Signed-off-by: rabi <ramishra@redhat.com>1 parent e22415e commit 8df10e6
2 files changed
Lines changed: 24 additions & 6 deletions
File tree
- api/dataplane/v1beta1
- internal/controller/dataplane
Lines changed: 4 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
26 | 30 | | |
27 | 31 | | |
28 | 32 | | |
| |||
Lines changed: 20 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
486 | 486 | | |
487 | 487 | | |
488 | 488 | | |
| 489 | + | |
| 490 | + | |
| 491 | + | |
| 492 | + | |
| 493 | + | |
489 | 494 | | |
490 | 495 | | |
491 | 496 | | |
| |||
517 | 522 | | |
518 | 523 | | |
519 | 524 | | |
520 | | - | |
| 525 | + | |
| 526 | + | |
| 527 | + | |
521 | 528 | | |
522 | 529 | | |
523 | 530 | | |
524 | 531 | | |
525 | 532 | | |
526 | 533 | | |
527 | | - | |
528 | | - | |
| 534 | + | |
| 535 | + | |
529 | 536 | | |
530 | 537 | | |
531 | | - | |
| 538 | + | |
| 539 | + | |
| 540 | + | |
| 541 | + | |
532 | 542 | | |
533 | 543 | | |
534 | 544 | | |
| |||
578 | 588 | | |
579 | 589 | | |
580 | 590 | | |
581 | | - | |
582 | | - | |
583 | 591 | | |
584 | 592 | | |
585 | 593 | | |
| 594 | + | |
| 595 | + | |
| 596 | + | |
| 597 | + | |
| 598 | + | |
| 599 | + | |
586 | 600 | | |
587 | 601 | | |
588 | 602 | | |
| |||
0 commit comments