diff options
Diffstat (limited to 'lib/os_mon/test/os_sup_SUITE.erl')
-rw-r--r-- | lib/os_mon/test/os_sup_SUITE.erl | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/os_mon/test/os_sup_SUITE.erl b/lib/os_mon/test/os_sup_SUITE.erl index 39e3c7e815..fb30e479a7 100644 --- a/lib/os_mon/test/os_sup_SUITE.erl +++ b/lib/os_mon/test/os_sup_SUITE.erl @@ -90,7 +90,7 @@ message(Config) when is_list(Config) -> {result, true} -> ok; {result, Rec} -> - ?t:fail({no_message, Rec}) + ct:fail({no_message, Rec}) end, ok. @@ -131,10 +131,10 @@ port(Config) when is_list(Config) -> {'DOWN', MonRef, _, _, {port_died, _Reason}} -> ok; {'DOWN', MonRef, _, _, Reason} -> - ?t:fail({unexpected_exit_reason, Reason}) + ct:fail({unexpected_exit_reason, Reason}) after 3000 -> - ?t:fail(still_alive) + ct:fail(still_alive) end, %% Give os_mon_sup time to restart os_sup |