riak-core-lite / riak_core_lite

Distributed systems infrastructure used by Riak.
Apache License 2.0
80 stars 13 forks source link

Race condition in riak_core_security_tests #32

Closed albsch closed 5 years ago

albsch commented 5 years ago

The tests in riak_core_security_tests work fine on a slow laptop but crash with certainty on a fast computer.

albsch commented 5 years ago

Using gen_server:stop(PID) instead of unlink in combination with catch exit seems to solve the issue.