diff options
author | Rickard Green <[email protected]> | 2016-07-26 18:22:18 +0200 |
---|---|---|
committer | Rickard Green <[email protected]> | 2016-08-30 15:19:52 +0200 |
commit | 93fb8ecb7ed41e7c441b1c72901d6db76c24fd8d (patch) | |
tree | 1364b399d0a533d031472eeb8906dd9642b451e0 | |
parent | e643c301c1402fb58ccc52f729c6b0b16c5c12e7 (diff) | |
download | otp-93fb8ecb7ed41e7c441b1c72901d6db76c24fd8d.tar.gz otp-93fb8ecb7ed41e7c441b1c72901d6db76c24fd8d.tar.bz2 otp-93fb8ecb7ed41e7c441b1c72901d6db76c24fd8d.zip |
Fix dirty_nif_SUITE:dirty_call_while_terminated test case
Prevent binary from being prematurely GCed
-rw-r--r-- | erts/emulator/test/dirty_nif_SUITE.erl | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/erts/emulator/test/dirty_nif_SUITE.erl b/erts/emulator/test/dirty_nif_SUITE.erl index 83b098a704..1a6737d59a 100644 --- a/erts/emulator/test/dirty_nif_SUITE.erl +++ b/erts/emulator/test/dirty_nif_SUITE.erl @@ -230,7 +230,11 @@ dirty_call_while_terminated(Config) when is_list(Config) -> process_info(self(), binary))), process_flag(trap_exit, OT), - ok. + try + blipp:blupp(Bin) + catch + _ : _ -> ok + end. dirty_heap_access(Config) when is_list(Config) -> {ok, Node} = start_node(Config), |