diff options
| author | Michael Klishin <michael@clojurewerkz.org> | 2020-03-31 18:47:20 +0300 |
|---|---|---|
| committer | Michael Klishin <michael@clojurewerkz.org> | 2020-03-31 18:47:45 +0300 |
| commit | f80500bd6b5e437683c8bbe2f702d4add2acc96c (patch) | |
| tree | ddc5f7f25dad17f97989918b58b37f5b476d2538 | |
| parent | 1e9a5107579347549ef4e88a32826386869a3e65 (diff) | |
| download | rabbitmq-server-git-f80500bd6b5e437683c8bbe2f702d4add2acc96c.tar.gz | |
unit_log_management_SUITE: handle erofs returned on macOS
as opposed to eacces
| -rw-r--r-- | test/unit_log_management_SUITE.erl | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/test/unit_log_management_SUITE.erl b/test/unit_log_management_SUITE.erl index 8f7a069e37..f748bda8c2 100644 --- a/test/unit_log_management_SUITE.erl +++ b/test/unit_log_management_SUITE.erl @@ -34,7 +34,7 @@ all() -> groups() -> [ {non_parallel_tests, [], [ - log_management, %% Check log files. + log_management, log_file_initialised_during_startup, log_file_fails_to_initialise_during_startup, externally_rotated_logs_are_automatically_reopened @@ -248,6 +248,12 @@ log_file_fails_to_initialise_during_startup(Config) -> Config, 0, ?MODULE, log_file_fails_to_initialise_during_startup1, [Config, NonWritableDir]); + %% macOS, "read only volume" + {error, erofs} -> + passed = rabbit_ct_broker_helpers:rpc( + Config, 0, + ?MODULE, log_file_fails_to_initialise_during_startup1, + [Config, NonWritableDir]); {ok, Fd} -> %% If the supposedly non-writable directory is writable %% (e.g. we are running the testsuite on Windows as |
