learning-akka icon indicating copy to clipboard operation
learning-akka copied to clipboard

SClientIntegrationSpec doesn't run twice

Open khlumzeemee opened this issue 7 years ago • 1 comments

The default implementation of the SClientIntegrationSpec class gives an error if we try to run the tests twice. (port already in use).

The default template from giter8 uses TestKit and BeforeAndAfterAll to cleanly close the test class after execution. Why not use those?

khlumzeemee avatar Jul 18 '17 13:07 khlumzeemee

Yep you're correct. Someone else pointed this out as well - I just haven't gotten around to fixing it. Feel free to make a pull request if you have a good example already.

jasongoodwin avatar Jul 18 '17 13:07 jasongoodwin