WaitForThreads will ALSO always stop the endpoints

This commit is contained in:
Robinson 2022-04-04 23:22:39 +02:00
parent 655cd02a30
commit 32c1de6269
No known key found for this signature in database
GPG Key ID: 8E7DB78588BD6F5C

View File

@ -229,7 +229,7 @@ abstract class BaseTest {
endPointConnections.clear()
}
/**
* Wait for network client/server threads to shutdown for the specified time.
* Wait for network client/server threads to shutdown for the specified time. 0 will wait forever
*
* it should close as close to naturally as possible, otherwise there are problems
*
@ -246,6 +246,9 @@ abstract class BaseTest {
} catch (e: InterruptedException) {
e.printStackTrace()
}
// always stop the endpoints
stopEndPoints()
}
@Before