diff options
| -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]), |
