-
Notifications
You must be signed in to change notification settings - Fork 89
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
Reset SettingsManager's instance when calling cleanup #461
Comments
Just a note, if it's decided that Example stacktrace:
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
SettingsManager
provides thecleanup
method:This method is purely abstract and does not unset
SettingsManager
'sinstance
property, used ingetInstance()
:I'm running into this problem when trying to create a second integration test suite.
SOS40ComplianceTestSuite
runsSettingsManager.getInstance().cleanup()
in its@AfterClass
, which invalidates the SettingsManager for any tests running after the suite.If
SettingsManager.getInstance().cleanup()
setinstance = null
then I believe future calls toSettingsManager.getInstance()
would reinitialize theSettingsManager
, allowing for further usage.The text was updated successfully, but these errors were encountered: