diff options
author | Sverker Eriksson <[email protected]> | 2016-09-09 16:15:52 +0200 |
---|---|---|
committer | Sverker Eriksson <[email protected]> | 2016-09-19 14:37:48 +0200 |
commit | a54773f05cd60045a4ac0f9a4ae753aa76185b61 (patch) | |
tree | 9c6f5171d85776b73d64ae75c467aac35d47500a /erts/emulator/test/nif_SUITE.erl | |
parent | 48314b2f6bedee39cb20c38599b9b1c2611e9b51 (diff) | |
download | otp-a54773f05cd60045a4ac0f9a4ae753aa76185b61.tar.gz otp-a54773f05cd60045a4ac0f9a4ae753aa76185b61.tar.bz2 otp-a54773f05cd60045a4ac0f9a4ae753aa76185b61.zip |
erts: Cuddle nif_SUITE:consume_timeslice
Diffstat (limited to 'erts/emulator/test/nif_SUITE.erl')
-rw-r--r-- | erts/emulator/test/nif_SUITE.erl | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/erts/emulator/test/nif_SUITE.erl b/erts/emulator/test/nif_SUITE.erl index 701b46665c..306f2091a1 100644 --- a/erts/emulator/test/nif_SUITE.erl +++ b/erts/emulator/test/nif_SUITE.erl @@ -1651,6 +1651,7 @@ consume_timeslice(Config) when is_list(Config) -> end. consume_timeslice_test(Config) when is_list(Config) -> + ensure_lib_loaded(Config), CONTEXT_REDS = 2000, Me = self(), Go = make_ref(), @@ -1727,7 +1728,7 @@ consume_timeslice_test(Config) when is_list(Config) -> io:format("Reductions = ~p~n", [Reductions]), ok; {RedDiff, Reductions} -> - ct:fail({unexpected_reduction_count, Reductions}) + ct:fail({unexpected_reduction_count, Reductions, ExpReds}) end, none = next_msg(P), |