summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthew Sackman <matthew@rabbitmq.com>2011-05-10 18:19:19 +0100
committerMatthew Sackman <matthew@rabbitmq.com>2011-05-10 18:19:19 +0100
commit61349821a03d50016b4c73bf14d138970c1547ba (patch)
tree8f1ca5d34cca605807e0bcae849ee6bf2d4b1d1f
parentc7379ae4d821d9dbf391ec2f24cad9c2dacd5599 (diff)
downloadrabbitmq-server-61349821a03d50016b4c73bf14d138970c1547ba.tar.gz
Fix racy bug in tests as reported by Simon. Bug created in bug24037 I suspect
-rw-r--r--src/rabbit_tests.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rabbit_tests.erl b/src/rabbit_tests.erl
index 6cb0dbf4..095e358a 100644
--- a/src/rabbit_tests.erl
+++ b/src/rabbit_tests.erl
@@ -2074,7 +2074,7 @@ test_queue_index() ->
variable_queue_init(Q, Recover) ->
rabbit_variable_queue:init(
- Q, Recover, fun nop/1, fun nop/1, fun nop/2, fun nop/1).
+ Q, Recover, fun nop/2, fun nop/2, fun nop/2, fun nop/1).
variable_queue_publish(IsPersistent, Count, VQ) ->
lists:foldl(