diff options
| author | Gerhard Lazu <gerhard@lazu.co.uk> | 2017-06-22 10:35:26 +0100 |
|---|---|---|
| committer | Gerhard Lazu <gerhard@lazu.co.uk> | 2017-06-22 10:35:26 +0100 |
| commit | 2bddf88c8ee0b247e105d32371b74c769e16043c (patch) | |
| tree | 03237afe136b150e02961e535b2118d0df2d4691 /test | |
| parent | 5432d05d2f2651c4389e9fc1351d4d624dd44b1e (diff) | |
| download | rabbitmq-server-git-2bddf88c8ee0b247e105d32371b74c769e16043c.tar.gz | |
Fix log_management test in OTP 20
The Format structure for error_logger:error_report(Type, Report) is
different in OTP 20, otherwise nothing will get logged in the SASL log
file.
Diffstat (limited to 'test')
| -rw-r--r-- | test/unit_inbroker_non_parallel_SUITE.erl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/unit_inbroker_non_parallel_SUITE.erl b/test/unit_inbroker_non_parallel_SUITE.erl index cc14001df6..2999abb3bb 100644 --- a/test/unit_inbroker_non_parallel_SUITE.erl +++ b/test/unit_inbroker_non_parallel_SUITE.erl @@ -400,7 +400,7 @@ non_empty_files(Files) -> test_logs_working(MainLogFile, SaslLogFile) -> ok = rabbit_log:error("Log a test message~n"), - ok = error_logger:error_report(crash_report, [fake_crash_report, ?MODULE]), + ok = error_logger:error_report(crash_report, [[?MODULE, 1], []]), %% give the error loggers some time to catch up timer:sleep(100), [true, true] = non_empty_files([MainLogFile, SaslLogFile]), |
