diff options
| author | Alexandru Scvortov <alexandru@rabbitmq.com> | 2011-09-06 13:53:03 +0100 |
|---|---|---|
| committer | Alexandru Scvortov <alexandru@rabbitmq.com> | 2011-09-06 13:53:03 +0100 |
| commit | 6bc52fcb3afbe9e92d2f0a3b7f76fd1084ec40fb (patch) | |
| tree | 49bdf2df2dd310eaa5d465d2687ab4e1f9101bb8 | |
| parent | 5f8cda6e696e2b1f686fc38128c1eef884935069 (diff) | |
| download | rabbitmq-server-git-6bc52fcb3afbe9e92d2f0a3b7f76fd1084ec40fb.tar.gz | |
fix tests
| -rw-r--r-- | src/rabbit_tests.erl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/rabbit_tests.erl b/src/rabbit_tests.erl index cd5d9be0cc..5f6d131cf7 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]), |
