diff options
author | Matthias Radestock <matthias@rabbitmq.com> | 2010-07-20 12:52:50 +0100 |
---|---|---|
committer | Matthias Radestock <matthias@rabbitmq.com> | 2010-07-20 12:52:50 +0100 |
commit | 4f9c4017cc3df0576b1de4ece3fb4dfc40749531 (patch) | |
tree | f7879561d0a6f90e35379553a8afce17b007f43e | |
parent | 0a6e6a18ba7ad8f4c23099df92c93908bb5a3492 (diff) | |
download | rabbitmq-server-4f9c4017cc3df0576b1de4ece3fb4dfc40749531.tar.gz |
remove superfluous test
this is covered elsewhere already, notably in
test_variable_queue_partial_segments_delta_thing.
-rw-r--r-- | src/rabbit_tests.erl | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/src/rabbit_tests.erl b/src/rabbit_tests.erl index f0881021..58a470a9 100644 --- a/src/rabbit_tests.erl +++ b/src/rabbit_tests.erl @@ -1770,15 +1770,7 @@ test_variable_queue_dynamic_duration_change(VQ0) -> VQ4 = rabbit_variable_queue:ack(AckTags, VQ3), {empty, VQ5} = rabbit_variable_queue:fetch(true, VQ4), - %% just publish and fetch some persistent msgs, this hits the the - %% partial segment path in queue_index due to the period when - %% duration was 0 and the entire queue was delta. - VQ6 = variable_queue_publish(true, 20, VQ5), - {VQ7, AckTags1} = variable_queue_fetch(20, true, false, 20, VQ6), - VQ8 = rabbit_variable_queue:ack(AckTags1, VQ7), - VQ9 = rabbit_variable_queue:handle_pre_hibernate(VQ8), - {empty, VQ10} = rabbit_variable_queue:fetch(true, VQ9), - VQ10. + VQ5. squeeze_and_relax_queue(Len, VQ0) -> Churn = Len div 32, |