diff options
| author | Michael Klishin <mklishin@pivotal.io> | 2017-08-10 04:22:25 +0300 |
|---|---|---|
| committer | Michael Klishin <mklishin@pivotal.io> | 2017-08-10 04:22:25 +0300 |
| commit | fd50fd7d260393c7dee795a24b86ff82682aec1f (patch) | |
| tree | 963c2c5941ce3d0be70b131dc62fddc7d678f617 /test | |
| parent | ae11d9a843b6236f045f81e6ee90392707e6d5ad (diff) | |
| download | rabbitmq-server-git-fd50fd7d260393c7dee795a24b86ff82682aec1f.tar.gz | |
Move delays to the test where they belong
Diffstat (limited to 'test')
| -rw-r--r-- | test/simple_ha_SUITE.erl | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/test/simple_ha_SUITE.erl b/test/simple_ha_SUITE.erl index 6550ad16c4..a0499b9d59 100644 --- a/test/simple_ha_SUITE.erl +++ b/test/simple_ha_SUITE.erl @@ -121,7 +121,6 @@ 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. @@ -139,8 +138,10 @@ clean_up_exclusive_queues(Config) -> amqp_channel:call(ChA, #'queue.declare'{queue = QName, exclusive = true}), ok = rabbit_ct_broker_helpers:kill_node(Config, A), + timer:sleep(?DELAY), [] = rabbit_ct_broker_helpers:rpc(Config, B, rabbit_amqqueue, list, []), ok = rabbit_ct_broker_helpers:start_node(Config, A), + timer:sleep(?DELAY), [[],[]] = rabbit_ct_broker_helpers:rpc_all(Config, rabbit_amqqueue, list, []), ok. |
