WaitForThreads will ALSO always stop the endpoints
This commit is contained in:
parent
655cd02a30
commit
32c1de6269
@ -229,7 +229,7 @@ abstract class BaseTest {
|
|||||||
endPointConnections.clear()
|
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
|
* it should close as close to naturally as possible, otherwise there are problems
|
||||||
*
|
*
|
||||||
@ -246,6 +246,9 @@ abstract class BaseTest {
|
|||||||
} catch (e: InterruptedException) {
|
} catch (e: InterruptedException) {
|
||||||
e.printStackTrace()
|
e.printStackTrace()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// always stop the endpoints
|
||||||
|
stopEndPoints()
|
||||||
}
|
}
|
||||||
|
|
||||||
@Before
|
@Before
|
||||||
|
Loading…
Reference in New Issue
Block a user