Updated for ping tests to always stop endpoints
This commit is contained in:
parent
dfe9491272
commit
9a13598d63
@ -279,6 +279,7 @@ abstract class BaseTest {
|
|||||||
}
|
}
|
||||||
} catch (e: Exception) {
|
} catch (e: Exception) {
|
||||||
e.printStackTrace()
|
e.printStackTrace()
|
||||||
|
stopEndPoints()
|
||||||
false
|
false
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -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)
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user