mirror of
https://github.com/logos-storage/logos-storage-nim-cs-dist-tests.git
synced 2026-01-05 23:13:08 +00:00
Fixes cleanup of online codexnodes in Codex test fixture
This commit is contained in:
parent
993f2ff813
commit
3e1b361b7b
@ -5,13 +5,10 @@ namespace Tests
|
||||
{
|
||||
public class AutoBootstrapDistTest : CodexDistTest
|
||||
{
|
||||
private readonly List<ICodexNode> onlineCodexNodes = new List<ICodexNode>();
|
||||
|
||||
[SetUp]
|
||||
public void SetUpBootstrapNode()
|
||||
{
|
||||
BootstrapNode = AddCodex(s => s.WithName("BOOTSTRAP"));
|
||||
onlineCodexNodes.Add(BootstrapNode);
|
||||
}
|
||||
|
||||
[TearDown]
|
||||
|
||||
@ -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<MetricsPlugin.MetricsPlugin>();
|
||||
}
|
||||
|
||||
[TearDown]
|
||||
public void TearDownCodexFixture()
|
||||
{
|
||||
onlineCodexNodes.Clear();
|
||||
}
|
||||
|
||||
protected override void Initialize(FixtureLog fixtureLog)
|
||||
{
|
||||
var localBuilder = new LocalCodexBuilder(fixtureLog);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user