From 1be29f26344c6c486b39f5d688dbab093904cc69 Mon Sep 17 00:00:00 2001 From: samliok Date: Wed, 10 Dec 2025 15:59:23 -0500 Subject: [PATCH 1/2] silence empty notarization replication tests --- replication_test.go | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/replication_test.go b/replication_test.go index 879339d4..78ead82a 100644 --- a/replication_test.go +++ b/replication_test.go @@ -285,6 +285,10 @@ func testReplicationEmptyNotarizations(t *testing.T, nodes []simplex.NodeID, end NewSimplexNode(t, nodes[4], net, newNodeConfig(nodes[4])) laggingNode := NewSimplexNode(t, nodes[5], net, newNodeConfig(nodes[5])) + for _, n := range net.Instances { + n.Silence() + } + net.StartInstances() net.Disconnect(laggingNode.E.ID) @@ -1254,8 +1258,14 @@ func testReplicationEmptyNotarizationsTail(t *testing.T, nodes []simplex.NodeID, NewSimplexNode(t, nodes[4], net, newNodeConfig(nodes[4])) laggingNode := NewSimplexNode(t, nodes[5], net, newNodeConfig(nodes[5])) + for _, n := range net.Instances { + n.Silence() + } + net.StartInstances() + + net.Disconnect(laggingNode.E.ID) net.SetAllNodesMessageFilter(onlyAllowEmptyRoundMessages) From 1d13ce2edcc67234f0ac535e17d1affe404a43b3 Mon Sep 17 00:00:00 2001 From: samliok Date: Wed, 10 Dec 2025 16:01:05 -0500 Subject: [PATCH 2/2] fmt --- replication_test.go | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/replication_test.go b/replication_test.go index 78ead82a..c70dc824 100644 --- a/replication_test.go +++ b/replication_test.go @@ -1261,10 +1261,8 @@ func testReplicationEmptyNotarizationsTail(t *testing.T, nodes []simplex.NodeID, for _, n := range net.Instances { n.Silence() } - - net.StartInstances() - + net.StartInstances() net.Disconnect(laggingNode.E.ID) net.SetAllNodesMessageFilter(onlyAllowEmptyRoundMessages)