You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to use BeforeAndAfterAll and an afterall to cleanup some stuff. But by the time afterall gets called, Play has already shutdown. In BaseOneAppPerSuite it does this:
val status = super.run(testName, newArgs)
status.whenCompleted { _ => Play.stop(app) }
Which runs before the afterall.
The text was updated successfully, but these errors were encountered:
I've been poking around at trying to decouple the tests from sync versions - looks like a potential answer here might be to use BeforeAndAfterAll in the parent suites that do the setup/teardown, and only leave the config map copying in the overridden run method
unfortunately that's a change within scalatestplus-play itself, vs a workaround outside of it
I'm trying to use
BeforeAndAfterAll
and anafterall
to cleanup some stuff. But by the timeafterall
gets called, Play has already shutdown. InBaseOneAppPerSuite
it does this:Which runs before the
afterall
.The text was updated successfully, but these errors were encountered: