summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexandru Scvortov <alexandru@rabbitmq.com>2011-09-06 13:53:03 +0100
committerAlexandru Scvortov <alexandru@rabbitmq.com>2011-09-06 13:53:03 +0100
commit66c176cf8931359667f0893027a234c38af88564 (patch)
tree49bdf2df2dd310eaa5d465d2687ab4e1f9101bb8
parent22a76ec9ed8f8f4b17f9c83ffe9b58bde260ae4b (diff)
downloadrabbitmq-server-66c176cf8931359667f0893027a234c38af88564.tar.gz
fix tests
-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 cd5d9be0..5f6d131c 100644
--- a/src/rabbit_tests.erl
+++ b/src/rabbit_tests.erl
@@ -795,11 +795,11 @@ test_log_management() ->
ok = control_action(rotate_logs, []),
ok = test_logs_working(MainLog, SaslLog),
- %% log rotation on empty file
+ %% log rotation on empty files (the main log will have a ctl action logged)
ok = clean_logs([MainLog, SaslLog], Suffix),
ok = control_action(rotate_logs, []),
ok = control_action(rotate_logs, [Suffix]),
- [true, true] = empty_files([[MainLog, Suffix], [SaslLog, Suffix]]),
+ [false, true] = empty_files([[MainLog, Suffix], [SaslLog, Suffix]]),
%% original main log file is not writable
ok = make_files_non_writable([MainLog]),