diff --git a/Tests/CodexTests/AutoBootstrapDistTest.cs b/Tests/CodexTests/AutoBootstrapDistTest.cs index 86c7c61..869453a 100644 --- a/Tests/CodexTests/AutoBootstrapDistTest.cs +++ b/Tests/CodexTests/AutoBootstrapDistTest.cs @@ -5,13 +5,10 @@ namespace Tests { public class AutoBootstrapDistTest : CodexDistTest { - private readonly List onlineCodexNodes = new List(); - [SetUp] public void SetUpBootstrapNode() { BootstrapNode = AddCodex(s => s.WithName("BOOTSTRAP")); - onlineCodexNodes.Add(BootstrapNode); } [TearDown] diff --git a/Tests/CodexTests/CodexDistTest.cs b/Tests/CodexTests/CodexDistTest.cs index f2e863d..d521ad4 100644 --- a/Tests/CodexTests/CodexDistTest.cs +++ b/Tests/CodexTests/CodexDistTest.cs @@ -6,6 +6,7 @@ using DistTestCore; using DistTestCore.Helpers; using DistTestCore.Logs; using GethPlugin; +using NUnit.Framework; using NUnit.Framework.Constraints; namespace Tests @@ -22,6 +23,12 @@ namespace Tests ProjectPlugin.Load(); } + [TearDown] + public void TearDownCodexFixture() + { + onlineCodexNodes.Clear(); + } + protected override void Initialize(FixtureLog fixtureLog) { var localBuilder = new LocalCodexBuilder(fixtureLog);