Open dmitrykrivaltsevich opened 7 years ago
@dmitrykrivaltsevich did you find a solution to this?
seeing the same thing when running Functional java tests that extend play.test.WithApplication
play: 2.6.13
java: 1.8.0_77
sbt: 1.0.4
os: mac os 10.12.6
looks like a timing issue.
the WithApplication
@After
method is immediately shutting down the application
I added this to my functional test class
@After
public void sleep() throws Exception {
Thread.sleep(10);
}
which gives the underlying tasks enough time to do whatever they're trying to do before shutting down the application
Steps to reproduce: Launch
sbt
and thentest
. Wait ~15 mins after tests completion.