diff options
| author | Michael Klishin <mklishin@pivotal.io> | 2017-08-10 04:15:27 +0300 |
|---|---|---|
| committer | Michael Klishin <mklishin@pivotal.io> | 2017-08-10 04:15:27 +0300 |
| commit | ae11d9a843b6236f045f81e6ee90392707e6d5ad (patch) | |
| tree | e189c380c7dd1094ba41fb6ef97a16091f8c9a3d /test | |
| parent | ec5ffe7296fbb883dccb35802d4bbcf8f2473e0d (diff) | |
| download | rabbitmq-server-git-ae11d9a843b6236f045f81e6ee90392707e6d5ad.tar.gz | |
Inject a delay after killing node
Like we do in partition_SUITE.
References #1323.
Diffstat (limited to 'test')
| -rw-r--r-- | test/simple_ha_SUITE.erl | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/test/simple_ha_SUITE.erl b/test/simple_ha_SUITE.erl index 25d8a304e6..6550ad16c4 100644 --- a/test/simple_ha_SUITE.erl +++ b/test/simple_ha_SUITE.erl @@ -21,6 +21,8 @@ -compile(export_all). +-define(DELAY, 8000). + all() -> [ {group, cluster_size_2}, @@ -119,6 +121,7 @@ declare_synchrony(Config) -> #amqp_msg{props = #'P_basic'{delivery_mode = 2}}), amqp_channel:wait_for_confirms(RabbitCh), rabbit_ct_broker_helpers:kill_node(Config, Rabbit), + timer:sleep(?DELAY), #'queue.declare_ok'{message_count = 1} = declare(HareCh, Q), ok. |
