From 993f2ff813b8333a64399a5903ae3319aa88f41d Mon Sep 17 00:00:00 2001 From: benbierens Date: Thu, 28 Sep 2023 14:23:48 +0200 Subject: [PATCH] Fixes issue where autobootstrap node doesn't clear old bootstrap node handles. --- Tests/CodexTests/AutoBootstrapDistTest.cs | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Tests/CodexTests/AutoBootstrapDistTest.cs b/Tests/CodexTests/AutoBootstrapDistTest.cs index 046ff0a..86c7c61 100644 --- a/Tests/CodexTests/AutoBootstrapDistTest.cs +++ b/Tests/CodexTests/AutoBootstrapDistTest.cs @@ -14,6 +14,12 @@ namespace Tests onlineCodexNodes.Add(BootstrapNode); } + [TearDown] + public void TearDownBootstrapNode() + { + BootstrapNode = null; + } + protected override void OnCodexSetup(ICodexSetup setup) { if (BootstrapNode != null) setup.WithBootstrapNode(BootstrapNode);