diff options
author | Lukas Larsson <[email protected]> | 2016-05-20 11:55:45 +0200 |
---|---|---|
committer | Lukas Larsson <[email protected]> | 2016-06-14 10:21:00 +0200 |
commit | 9411a2098d983cac05fd7198bba26b9d56aa484a (patch) | |
tree | e9ce59733a5146fc5f4c52248a81895b52b7eed2 | |
parent | f18d6eb9d6900e21cefe3ce44b644015a0444279 (diff) | |
download | otp-9411a2098d983cac05fd7198bba26b9d56aa484a.tar.gz otp-9411a2098d983cac05fd7198bba26b9d56aa484a.tar.bz2 otp-9411a2098d983cac05fd7198bba26b9d56aa484a.zip |
erts: Increase bif and nif call_time trace test
This makes the time that the tests execute longer, which means
that on systems with low resolution on timers (e.g. windows)
the test is less likely to fail.
-rw-r--r-- | erts/emulator/test/trace_call_time_SUITE.erl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/erts/emulator/test/trace_call_time_SUITE.erl b/erts/emulator/test/trace_call_time_SUITE.erl index 40c8bc4340..6582ad134b 100644 --- a/erts/emulator/test/trace_call_time_SUITE.erl +++ b/erts/emulator/test/trace_call_time_SUITE.erl @@ -351,7 +351,7 @@ combo(Config) when is_list(Config) -> %% Tests tracing of bifs bif(Config) when is_list(Config) -> P = erlang:trace_pattern({'_','_','_'}, false, [call_time]), - M = 1000000, + M = 5000000, %% 2 = erlang:trace_pattern({erlang, binary_to_term, '_'}, true, [call_time]), 2 = erlang:trace_pattern({erlang, term_to_binary, '_'}, true, [call_time]), @@ -381,7 +381,7 @@ bif(Config) when is_list(Config) -> nif(Config) when is_list(Config) -> load_nif(Config), P = erlang:trace_pattern({'_','_','_'}, false, [call_time]), - M = 1000000, + M = 5000000, %% 1 = erlang:trace_pattern({?MODULE, nif_dec, '_'}, true, [call_time]), 1 = erlang:trace_pattern({?MODULE, with_nif, '_'}, true, [call_time]), |