Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Nowax] Reset FNodes between unit tests #1108

Open
wants to merge 5 commits into
base: develop
Choose a base branch
from

Conversation

WhoSoup
Copy link
Member

@WhoSoup WhoSoup commented Nov 5, 2020

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant