diff options
author | Björn-Egil Dahlberg <[email protected]> | 2016-02-25 15:13:32 +0100 |
---|---|---|
committer | Björn-Egil Dahlberg <[email protected]> | 2016-02-25 15:26:28 +0100 |
commit | 0ca09ee90d6384e74d1b18ab0e05f2c05fc03905 (patch) | |
tree | cee20d57c9b84f1720e36b75fc93c949906e85df /lib/kernel/test/heart_SUITE.erl | |
parent | bedde8c59e568b15bee4b36dc4e4eaa93d00f63a (diff) | |
download | otp-0ca09ee90d6384e74d1b18ab0e05f2c05fc03905.tar.gz otp-0ca09ee90d6384e74d1b18ab0e05f2c05fc03905.tar.bz2 otp-0ca09ee90d6384e74d1b18ab0e05f2c05fc03905.zip |
kernel: Clarify heart option
Change scheduler responsiveness to 'check_schedulers'.
Diffstat (limited to 'lib/kernel/test/heart_SUITE.erl')
-rw-r--r-- | lib/kernel/test/heart_SUITE.erl | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/kernel/test/heart_SUITE.erl b/lib/kernel/test/heart_SUITE.erl index 6cf451b10b..39cd29cea0 100644 --- a/lib/kernel/test/heart_SUITE.erl +++ b/lib/kernel/test/heart_SUITE.erl @@ -407,15 +407,15 @@ options_api(Config) when is_list(Config) -> {error, {bad_options, Ls}} = rpc:call(Node, heart, set_options, [Ls]), none = rpc:call(Node, heart, get_options, []), - ok = rpc:call(Node, heart, set_options, [[scheduler]]), - {ok, [scheduler]} = rpc:call(Node, heart, get_options, []), + ok = rpc:call(Node, heart, set_options, [[check_schedulers]]), + {ok, [check_schedulers]} = rpc:call(Node, heart, get_options, []), ok = rpc:call(Node, heart, set_options, [[]]), none = rpc:call(Node, heart, get_options, []), - ok = rpc:call(Node, heart, set_options, [[scheduler]]), - {ok, [scheduler]} = rpc:call(Node, heart, get_options, []), + ok = rpc:call(Node, heart, set_options, [[check_schedulers]]), + {ok, [check_schedulers]} = rpc:call(Node, heart, get_options, []), {error, {bad_options, Ls}} = rpc:call(Node, heart, set_options, [Ls]), - {ok, [scheduler]} = rpc:call(Node, heart, get_options, []), + {ok, [check_schedulers]} = rpc:call(Node, heart, get_options, []), receive after 3000 -> ok end, %% wait 3 secs |