@@ -1182,22 +1182,18 @@ startWithWrongPeers workDir tracer node@RunningNode{nodeSocket} hydraScriptsTxId
1182
1182
1183
1183
let hydraTracer = contramap FromHydraNode tracer
1184
1184
withHydraNode hydraTracer aliceChainConfig workDir 3 aliceSk [bobVk] [3 , 4 ] $ \ n1 -> do
1185
- -- NOTE: here we deliberately use the wrong peer list for Bob, which should be visible
1186
- -- in network message sent to Alice.
1185
+ -- NOTE: here we deliberately use the wrong peer list for Bob
1187
1186
withHydraNode hydraTracer bobChainConfig workDir 4 bobSk [aliceVk] [4 ] $ \ _ -> do
1188
1187
seedFromFaucet_ node aliceCardanoVk 100_000_000 (contramap FromFaucet tracer)
1189
1188
1190
- (clusterPeers, reportingHost, configuredPeers) <- waitMatch 20 n1 $ \ v -> do
1189
+ (clusterPeers, configuredPeers) <- waitMatch 20 n1 $ \ v -> do
1191
1190
guard $ v ^? key " tag" == Just (Aeson. String " NetworkClusterIDMismatch" )
1192
1191
clusterPeers <- v ^? key " clusterPeers" . _String
1193
- reportingHost <- v ^? key " reportingHost" . _String
1194
1192
configuredPeers <- v ^? key " misconfiguredPeers" . _String
1195
- pure (clusterPeers, reportingHost, configuredPeers)
1193
+ pure (clusterPeers, configuredPeers)
1196
1194
1197
1195
when (clusterPeers == configuredPeers) $
1198
1196
failure " Expected clusterPeers and configuredPeers to be different"
1199
- -- NOTE: reporting host is the host receiving the error, which is Alice
1200
- reportingHost `shouldBe` " http://0.0.0.0:5003"
1201
1197
clusterPeers `shouldBe` " 0.0.0.0:5003=http://0.0.0.0:5003,0.0.0.0:5004=http://0.0.0.0:5004"
1202
1198
configuredPeers `shouldBe` " 0.0.0.0:5004=http://0.0.0.0:5004"
1203
1199
0 commit comments