ENT-5298: Increase timeout by two minutes because the test occasionally takes longer than five minutes (#6246)

This commit is contained in:
Ryan Fowler 2020-05-13 13:15:05 +01:00 committed by GitHub
parent fbf0bd9bd9
commit 9caf6538ce
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -75,7 +75,8 @@ class RpcReconnectTests {
* This test runs flows in a loop and in the background kills the node or restarts it.
* Also the RPC connection is made through a proxy that introduces random latencies and is also periodically killed.
*/
@Test(timeout=300_000)
@Suppress("ComplexMethod")
@Test(timeout=420_000)
fun `test that the RPC client is able to reconnect and proceed after node failure, restart, or connection reset`() {
val nodeRunningTime = { Random().nextInt(12000) + 8000 }