diff options
author | Siri Hansen <[email protected]> | 2014-09-24 14:20:58 +0200 |
---|---|---|
committer | Siri Hansen <[email protected]> | 2014-09-24 14:20:58 +0200 |
commit | 8f6cff800da3161e41ee43437e1d074b66b68dd3 (patch) | |
tree | efe5f4a3e98016d4e93b221f845b0404e006b600 | |
parent | bca562455e1e8cb8be5a5a5de53c926eba51f977 (diff) | |
download | otp-8f6cff800da3161e41ee43437e1d074b66b68dd3.tar.gz otp-8f6cff800da3161e41ee43437e1d074b66b68dd3.tar.bz2 otp-8f6cff800da3161e41ee43437e1d074b66b68dd3.zip |
[ct test] Explicitly unregister event receiver to avoid badarg
... when two tests are run within the same test case.
-rw-r--r-- | lib/common_test/test/ct_test_support.erl | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/common_test/test/ct_test_support.erl b/lib/common_test/test/ct_test_support.erl index 2e2b45d59f..746469584d 100644 --- a/lib/common_test/test/ct_test_support.erl +++ b/lib/common_test/test/ct_test_support.erl @@ -481,6 +481,7 @@ er_loop(Evs) -> From ! {event_receiver,lists:reverse(Evs)}, er_loop(Evs); stop -> + unregister(event_receiver), ok end. |