Updated for ping tests to always stop endpoints

This commit is contained in:
Robinson 2023-05-28 22:47:17 +02:00
parent dfe9491272
commit 9a13598d63
No known key found for this signature in database
GPG Key ID: 8E7DB78588BD6F5C
2 changed files with 2 additions and 1 deletions

View File

@ -279,6 +279,7 @@ abstract class BaseTest {
} }
} catch (e: Exception) { } catch (e: Exception) {
e.printStackTrace() e.printStackTrace()
stopEndPoints()
false false
} }

View File

@ -66,7 +66,7 @@ class PingTest : BaseTest() {
client.connect(LOCALHOST) client.connect(LOCALHOST)
} }
waitForThreads(500) waitForThreads(1500)
Assert.assertTrue(clientSuccess.value) Assert.assertTrue(clientSuccess.value)
} }