Files
my-rook-config/pkg/operator/ceph
Santosh 6781d2e58d osd: fix flaky TestAddRemoveNode failure
User RaceFreeFakeWatcher isntead of FakeWatcher in TestAddRemoveNode
function. The test runs c.Start() in a goroutine whch stops the watcher
when done. If mockNodeOrchestrationCompeltion sends a watch ever after,
that, FakeWatcher panics with "send on a closed channel".
RaceFreeFakeWatcher safely ignores the sends on a stopped channel.

Signed-off-by: Santosh <sapillai@redhat.com>
2026-05-15 17:44:03 +05:30
..
2025-08-27 14:47:45 -06:00
2026-04-29 14:24:26 -06:00
2025-11-21 13:12:56 -07:00
2026-04-29 14:24:26 -06:00
2023-10-05 20:16:46 +08:00