aboutsummaryrefslogtreecommitdiffstats
path: root/lib/os_mon/test/cpu_sup_SUITE.erl
diff options
context:
space:
mode:
authorLukas Larsson <[email protected]>2016-05-31 14:40:25 +0200
committerLukas Larsson <[email protected]>2016-06-14 10:09:37 +0200
commit4a96eb9dadf453724860a7e2e060894dca360fd6 (patch)
treeb91c60d63cde039778f05e7bb0af5c60eca369c5 /lib/os_mon/test/cpu_sup_SUITE.erl
parent7d0c75c91cbe903868efc51ffa6c721fe29447a2 (diff)
downloadotp-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.erl2
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