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 | 27e731e99210bd4102af32eb78bb118da895b17c (patch) | |
| tree | f7879561d0a6f90e35379553a8afce17b007f43e /src | |
| parent | 0e5d2ec0915e693ad16412d246362303c9e57537 (diff) | |
| download | rabbitmq-server-git-27e731e99210bd4102af32eb78bb118da895b17c.tar.gz | |
remove superfluous test
this is covered elsewhere already, notably in
test_variable_queue_partial_segments_delta_thing.
Diffstat (limited to 'src')
| -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 f088102103..58a470a908 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, |
