You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If I add another line beneath this, so that two connections are made between an endpoint and its own address, then the 'testConnectToSelf' fails. e.g.
testConnectToSelf :: Transport -> Int -> IO ()
testConnectToSelf transport numPings = do
done <- newEmptyMVar
Right endpoint <- newEndPoint transport
tlog "Creating self-connection"
Right conn <- connect endpoint (address endpoint) ReliableOrdered
Right dummyConn1 <- connect endpoint (address endpoint) ReliableOrdered
On line 451 of TestTransport.hs :
https://github.com/haskell-distributed/distributed-process/blob/edsko/network-transport-2/tests/TestTransport.hs#L451
If I add another line beneath this, so that two connections are made between an endpoint and its own address, then the 'testConnectToSelf' fails. e.g.
It is throwning an error for line 473 :
https://github.com/haskell-distributed/distributed-process/blob/edsko/network-transport-2/tests/TestTransport.hs#L473
where (Received cid' msg) is not correctly being pattern matched:
So - having multiple connections from an endpoint to its address appears to be causing problems.
The text was updated successfully, but these errors were encountered: