Commit e5fd9a9
committed
test(aggregation): prove a peer that comes back is taken back
Retention is well covered in one direction only. Every case that watches a peer
go quiet leaves it quiet, so nothing observed the return trip, and the design
doc's promise that a recovering peer is re-included rested on no test at all. A
regression that kept replaying the retained copy would have poisoned the tree
after a single outage with every suite still green.
A peer is killed and then replaced through the same gate the trigger suite uses,
so the return happens when the case asks for it rather than on a clock. The
declared member's flag is watched down and back up, the runtime-discovered one
disappears and is merged again, a read that answered not-responding answers with
the peer's own payload, and the retained declaration does not linger beside the
live copy.
The two availability signals do not clear together, and the case pins that
rather than papering over it: reachability clears on the first refresh after the
health check passes, while is_online is the peer's own account of its graph and
follows a refresh or two later.1 parent 16adccd commit e5fd9a9
4 files changed
Lines changed: 975 additions & 1 deletion
File tree
- docs/config
- src
- ros2_medkit_gateway/design
- ros2_medkit_integration_tests
- test/features
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
465 | 465 | | |
466 | 466 | | |
467 | 467 | | |
| 468 | + | |
| 469 | + | |
| 470 | + | |
| 471 | + | |
| 472 | + | |
| 473 | + | |
| 474 | + | |
| 475 | + | |
| 476 | + | |
468 | 477 | | |
469 | 478 | | |
470 | 479 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
694 | 694 | | |
695 | 695 | | |
696 | 696 | | |
697 | | - | |
| 697 | + | |
| 698 | + | |
| 699 | + | |
| 700 | + | |
| 701 | + | |
| 702 | + | |
| 703 | + | |
| 704 | + | |
| 705 | + | |
698 | 706 | | |
699 | 707 | | |
700 | 708 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
255 | 255 | | |
256 | 256 | | |
257 | 257 | | |
| 258 | + | |
258 | 259 | | |
259 | 260 | | |
260 | 261 | | |
| |||
297 | 298 | | |
298 | 299 | | |
299 | 300 | | |
| 301 | + | |
300 | 302 | | |
301 | 303 | | |
302 | 304 | | |
| |||
0 commit comments