Skip to content

Commit 615371c

Browse files
committed
testnet: connection manager transition tracer
Reinstanciate it, without it some tests are not effective.
1 parent ad537a2 commit 615371c

File tree

1 file changed

+8
-1
lines changed
  • ouroboros-network/sim-tests-lib/Test/Ouroboros/Network/Testnet

1 file changed

+8
-1
lines changed

ouroboros-network/sim-tests-lib/Test/Ouroboros/Network/Testnet/Internal.hs

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1290,7 +1290,14 @@ diffusionSimulation
12901290
. tracerWithName ntnAddr
12911291
. tracerWithTime
12921292
$ nodeTracer
1293-
, Diff.P2P.dtConnectionManagerTransitionTracer = nullTracer
1293+
, Diff.P2P.dtConnectionManagerTransitionTracer = contramap
1294+
DiffusionConnectionManagerTransitionTrace
1295+
. tracerWithName ntnAddr
1296+
. tracerWithTime
1297+
-- note: we have two ways getting transition trace:
1298+
-- * through `traceTVar` installed in `newMutableConnState`
1299+
-- * the `dtConnectionManagerTransitionTracer`
1300+
$ nodeTracer
12941301
, Diff.P2P.dtServerTracer = contramap DiffusionServerTrace
12951302
. tracerWithName ntnAddr
12961303
. tracerWithTime

0 commit comments

Comments
 (0)