Simulation scenarios to disable signal channel on resume (#2389)

* Add a simulation scenario to disconnect signal channel on resume

- Requesting that scenario add that participant to a map with a timeout
  of 5 seconds.
- If a resume (reconnect = 1) happens before the timeout, the signalling
  channel is closed immediately on resume.
- There is a clean up worker which will remove entries from the map when
  they timout.
- The participant is also removed from the map if the disconnect on
  resume is invoked once.

* simulate disconnect signal on resume no messages

* comment

* comment

* Close all retries

* update deps

* abort resume only if simulation applied

* Revert SIP change
This commit is contained in:
Raja Subramanian
2024-01-17 20:44:05 +05:30
committed by GitHub
parent 750d2b5765
commit 899067ba0f
5 changed files with 109 additions and 22 deletions
-1
View File
@@ -187,7 +187,6 @@ func NewTransportManager(params TransportManagerParams) (*TransportManager, erro
}
t.signalSourceValid.Store(true)
return t, nil
}