factomd icon indicating copy to clipboard operation
factomd copied to clipboard

[Nowax] Reset FNodes between unit tests

Open WhoSoup opened this issue 3 years ago • 0 comments

The sim is set up to use engine.fnodes to store the simulated nodes but this is never reset between tests, meaning new tests just keep appending to the end of fnodes. This leads to errors like databases being closed (since the nodes are shut down).

Similarly, the "quit" channel that StartSim uses was never reopened after being closed from a previous test.

Both of these changes are experimental with possible unintentional consequences.

WhoSoup avatar Nov 05 '20 11:11 WhoSoup