Files
my-rook-config/pkg/operator/ceph/cluster/osd
Santosh 42f6f90990 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>
(cherry picked from commit 6781d2e58d)
2026-05-15 19:39:59 +00:00
..
2023-07-24 09:16:30 +05:30
2025-03-26 10:41:48 -07:00
2026-02-05 19:55:16 +00:00