@@ -660,8 +660,8 @@ testRemoteRegistry TestTransport{..} = do
660
660
let nid1 = localNodeId node1
661
661
registerRemoteAsync nid1 " ping" pingServer
662
662
receiveWait [
663
- matchIf (\ (RegisterReply label' _) -> " ping" == label')
664
- (\ (RegisterReply _ _) -> return () ) ]
663
+ matchIf (\ (RegisterReply label' _ _ ) -> " ping" == label')
664
+ (\ (RegisterReply _ _ _ ) -> return () ) ]
665
665
666
666
Just pid <- whereisRemote nid1 " ping"
667
667
True <- return $ pingServer == pid
@@ -738,8 +738,8 @@ testReconnect TestTransport{..} = do
738
738
us <- getSelfPid
739
739
registerRemoteAsync nid1 " a" us -- registerRemote is asynchronous
740
740
receiveWait [
741
- matchIf (\ (RegisterReply label' _) -> " a" == label')
742
- (\ (RegisterReply _ _) -> return () ) ]
741
+ matchIf (\ (RegisterReply label' _ _ ) -> " a" == label')
742
+ (\ (RegisterReply _ _ _ ) -> return () ) ]
743
743
744
744
Just _ <- whereisRemote nid1 " a"
745
745
@@ -750,14 +750,14 @@ testReconnect TestTransport{..} = do
750
750
-- This will happen due to implicit reconnect
751
751
registerRemoteAsync nid1 " b" us
752
752
receiveWait [
753
- matchIf (\ (RegisterReply label' _) -> " b" == label')
754
- (\ (RegisterReply _ _) -> return () ) ]
753
+ matchIf (\ (RegisterReply label' _ _ ) -> " b" == label')
754
+ (\ (RegisterReply _ _ _ ) -> return () ) ]
755
755
756
756
-- Should happen
757
757
registerRemoteAsync nid1 " c" us
758
758
receiveWait [
759
- matchIf (\ (RegisterReply label' _) -> " c" == label')
760
- (\ (RegisterReply _ _) -> return () ) ]
759
+ matchIf (\ (RegisterReply label' _ _ ) -> " c" == label')
760
+ (\ (RegisterReply _ _ _ ) -> return () ) ]
761
761
762
762
-- Check
763
763
Nothing <- whereisRemote nid1 " a" -- this will fail because the name is removed when the node is disconnected
0 commit comments