summaryrefslogtreecommitdiff
path: root/src/rabbit_tests.erl
diff options
context:
space:
mode:
authorMatthias Radestock <matthias@rabbitmq.com>2011-05-16 21:48:10 +0100
committerMatthias Radestock <matthias@rabbitmq.com>2011-05-16 21:48:10 +0100
commit0d20278f234e6d356af5ff177318aec71f389217 (patch)
tree9f380ab88c84a958520da0c30df188e4068d8892 /src/rabbit_tests.erl
parent9cd3070bd66344ddc1dc31b5fcf4ea2461cb0805 (diff)
parent4077e54b43789827b92eec681ab15e60ff832023 (diff)
downloadrabbitmq-server-0d20278f234e6d356af5ff177318aec71f389217.tar.gz
merge bug23939 into default
Diffstat (limited to 'src/rabbit_tests.erl')
-rw-r--r--src/rabbit_tests.erl4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/rabbit_tests.erl b/src/rabbit_tests.erl
index 48119fae..e8e13212 100644
--- a/src/rabbit_tests.erl
+++ b/src/rabbit_tests.erl
@@ -1553,7 +1553,7 @@ test_logs_working(MainLogFile, SaslLogFile) ->
ok = rabbit_log:error("foo bar"),
ok = error_logger:error_report(crash_report, [foo, bar]),
%% give the error loggers some time to catch up
- timer:sleep(50),
+ timer:sleep(100),
[true, true] = non_empty_files([MainLogFile, SaslLogFile]),
ok.
@@ -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(