This is a spin-off from SWITCHYARD-1111 that will deal with the issues associated with running "mvn test" during the SWTBot test cycle. The first time the test runs, it runs fine. Subsequent runs get this error:
testSubmit(com.example.switchyard.SWTBot_Project.PaymentsTest): Server Runtime Error: java.net.BindException: Address already in use: bind
Apparently this means that the runtime created during the first run hasn't been disposed of by the time we run the second test 30-60-90 seconds later. So instead of going this route, we need to examine other options.
Two options that have come up so far are: executing the tests using JUnit and not running the tests at all, simply comparing config files at various points in the process (such as what Rob does with the tools.tests currently with XMLUnit).
|