summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhilip Kuryloski <kuryloskip@vmware.com>2021-07-19 14:24:46 +0200
committerPhilip Kuryloski <kuryloskip@vmware.com>2021-07-20 10:19:01 +0200
commite3b856c6b3239d31c6dc965a9ab0259db12b50fb (patch)
tree4f47a9765e0d0cbeda87069847b7a413f27a9afa
parent72c0de39369c40b9722967fc6038a0e54d8fb0aa (diff)
downloadrabbitmq-server-git-e3b856c6b3239d31c6dc965a9ab0259db12b50fb.tar.gz
Increase a timeout for flakiness sake
(cherry picked from commit 0f4cf2755d2c1734c72e7254cf491f600260fbce)
-rw-r--r--deps/rabbit/test/quorum_queue_SUITE.erl6
1 files changed, 4 insertions, 2 deletions
diff --git a/deps/rabbit/test/quorum_queue_SUITE.erl b/deps/rabbit/test/quorum_queue_SUITE.erl
index b200054827..571e5ccaff 100644
--- a/deps/rabbit/test/quorum_queue_SUITE.erl
+++ b/deps/rabbit/test/quorum_queue_SUITE.erl
@@ -436,20 +436,22 @@ start_queue_concurrent(Config) ->
Self = self(),
[begin
_ = spawn_link(fun () ->
- {_Conn, Ch} = rabbit_ct_client_helpers:open_connection_and_channel(Config, Server),
+ {Conn, Ch} = rabbit_ct_client_helpers:open_connection_and_channel(Config, Server),
%% Test declare an existing queue
?assertEqual({'queue.declare_ok', LQ, 0, 0},
declare(Ch, LQ,
[{<<"x-queue-type">>,
longstr,
<<"quorum">>}])),
+ timer:sleep(500),
+ rabbit_ct_client_helpers:close_connection_and_channel(Conn, Ch),
Self ! {done, Server}
end)
end || Server <- Servers],
[begin
receive {done, Server} -> ok
- after 5000 -> exit({await_done_timeout, Server})
+ after 10000 -> exit({await_done_timeout, Server})
end
end || Server <- Servers],