Fixes issue where autobootstrap node doesn't clear old bootstrap node handles.

This commit is contained in:
benbierens 2023-09-28 14:23:48 +02:00
parent 260294fb35
commit 993f2ff813
No known key found for this signature in database
GPG Key ID: FE44815D96D0A1AA
1 changed files with 6 additions and 0 deletions

View File

@ -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);