aboutsummaryrefslogtreecommitdiffstats
path: root/lib/kernel/test
diff options
context:
space:
mode:
authorSiri Hansen <[email protected]>2018-06-11 14:56:34 +0200
committerSiri Hansen <[email protected]>2018-06-12 14:07:56 +0200
commit4e429c8ec783947b84ef7e8e337e3af0cd5603ed (patch)
tree038ca8cd3b46e4ecb93ca6196e89747f3a8a66b7 /lib/kernel/test
parent465d2849ed0d832577a25a52f0717ec5f7eb94bd (diff)
downloadotp-4e429c8ec783947b84ef7e8e337e3af0cd5603ed.tar.gz
otp-4e429c8ec783947b84ef7e8e337e3af0cd5603ed.tar.bz2
otp-4e429c8ec783947b84ef7e8e337e3af0cd5603ed.zip
[logger] Skip some overload protection tests when using dirty schedulers
Diffstat (limited to 'lib/kernel/test')
-rw-r--r--lib/kernel/test/logger_std_h_SUITE.erl12
1 files changed, 12 insertions, 0 deletions
diff --git a/lib/kernel/test/logger_std_h_SUITE.erl b/lib/kernel/test/logger_std_h_SUITE.erl
index 36b123b07d..27a8db1db6 100644
--- a/lib/kernel/test/logger_std_h_SUITE.erl
+++ b/lib/kernel/test/logger_std_h_SUITE.erl
@@ -79,6 +79,18 @@ init_per_testcase(TestHooksCase, Config) when
ct:print("********** ~w **********", [TestHooksCase]),
Config
end;
+init_per_testcase(OPCase, Config) when
+ OPCase == qlen_kill_new;
+ OPCase == restart_after ->
+ case re:run(erlang:system_info(system_version),
+ "dirty-schedulers-TEST",
+ [{capture,none}]) of
+ match ->
+ {skip,"Overload protection test skipped on dirty-schedulers-TEST"};
+ nomatch ->
+ ct:print("********** ~w **********", [OPCase]),
+ Config
+ end;
init_per_testcase(TestCase, Config) ->
ct:print("********** ~w **********", [TestCase]),
Config.