diff options
author | Lukas Larsson <[email protected]> | 2016-05-31 14:40:25 +0200 |
---|---|---|
committer | Lukas Larsson <[email protected]> | 2016-06-14 10:09:37 +0200 |
commit | 4a96eb9dadf453724860a7e2e060894dca360fd6 (patch) | |
tree | b91c60d63cde039778f05e7bb0af5c60eca369c5 /lib/os_mon/test/cpu_sup_SUITE.erl | |
parent | 7d0c75c91cbe903868efc51ffa6c721fe29447a2 (diff) | |
download | otp-4a96eb9dadf453724860a7e2e060894dca360fd6.tar.gz otp-4a96eb9dadf453724860a7e2e060894dca360fd6.tar.bz2 otp-4a96eb9dadf453724860a7e2e060894dca360fd6.zip |
os_mon: Make sure to start/stop os_mon in tests correctly
Diffstat (limited to 'lib/os_mon/test/cpu_sup_SUITE.erl')
-rw-r--r-- | lib/os_mon/test/cpu_sup_SUITE.erl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/os_mon/test/cpu_sup_SUITE.erl b/lib/os_mon/test/cpu_sup_SUITE.erl index 41115ee6e2..7122d23503 100644 --- a/lib/os_mon/test/cpu_sup_SUITE.erl +++ b/lib/os_mon/test/cpu_sup_SUITE.erl @@ -256,7 +256,7 @@ unavailable(Config) when is_list(Config) -> restart(Config) when is_list(Config) -> ok = application:set_env(os_mon, start_cpu_sup, true), - {ok, _Pid} = supervisor:restart_child(os_mon_sup, cpu_sup), + supervisor:restart_child(os_mon_sup, cpu_sup), ok. %% Aux |