Skip to content

Commit

Permalink
Update healthmanager/subscription_manager_test.go
Browse files Browse the repository at this point in the history
Co-authored-by: Igor Sirotin <[email protected]>
  • Loading branch information
friofry and igor-sirotin authored Dec 2, 2024
1 parent ccf8658 commit a2ccc88
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions healthmanager/subscription_manager_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -60,9 +60,7 @@ func TestSubscriptionManager(t *testing.T) {

select {
case _, ok := <-ch:
if ok {
t.Errorf("Unsubscribed channel received notification")
}
require.Falsef(t, ok, "Unsubscribed channel received notification")
case <-time.After(100 * time.Millisecond):
// Expected behavior: no notification should be received
}
Expand Down

0 comments on commit a2ccc88

Please sign in to comment.