Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
When running connection manager with two outbound connection, the second overlapping with the first one we now do (in the specified order): * `unregisterInboundConncection`: `TimeoutExpired` transition * `unregisterOutboundConnection`: `DemotedToCold^{Duplex}_{Local} : OutboundState df → PreTerminatingState df` which terminates the connection after reset delay (5s) Rather than the other way around, which would do: * `unregisterOutboundConnection`: `DemotedToCold^{Duplex}_{Local} : OutboundState df → InboundIdleState df` * `unregisterInboundConnection`: `DemotedToCold^{Duplex}_{Remote} : InboundIdleState df → TerminatingState` which terminates the connection without a delay This change is needed because in the second case the connection is closed and the test environment is expected to return an fd, but since the schedule for the second connection has set 'siExists' to 'True' an fd is not present, which results in test environment failure. Another reason to switch the order is that the second case is already tested when there's an inbound connection.
- Loading branch information