Revert PR #4838 in favor of a better solution (#4840)

This commit is contained in:
Pablo Fuente Pérez
2026-09-05 01:02:48 +05:30
committed by GitHub
parent 407fe3fe26
commit a8ce3985ca
4 changed files with 4 additions and 40 deletions
-1
View File
@@ -113,7 +113,6 @@ func TestSubscribe(t *testing.T) {
require.Eventually(t, func() bool {
return numParticipantSubscribed.Load() == 2
}, subSettleTimeout, subCheckInterval, "participant subscribe status was not updated twice")
// the unsubscribed callback is delivered on a goroutine of its own
require.Eventually(t, func() bool {
return numParticipantUnsubscribed.Load() == 1
}, subSettleTimeout, subCheckInterval, "participant unsubscribe status was not updated")