Fixes issue where autobootstrap node doesn't clear old bootstrap node handles.
This commit is contained in:
parent
260294fb35
commit
993f2ff813
|
@ -14,6 +14,12 @@ namespace Tests
|
||||||
onlineCodexNodes.Add(BootstrapNode);
|
onlineCodexNodes.Add(BootstrapNode);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
[TearDown]
|
||||||
|
public void TearDownBootstrapNode()
|
||||||
|
{
|
||||||
|
BootstrapNode = null;
|
||||||
|
}
|
||||||
|
|
||||||
protected override void OnCodexSetup(ICodexSetup setup)
|
protected override void OnCodexSetup(ICodexSetup setup)
|
||||||
{
|
{
|
||||||
if (BootstrapNode != null) setup.WithBootstrapNode(BootstrapNode);
|
if (BootstrapNode != null) setup.WithBootstrapNode(BootstrapNode);
|
||||||
|
|
Loading…
Reference in New Issue