-
-
Notifications
You must be signed in to change notification settings - Fork 231
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Test failing with not_mocked
#144
Comments
Since I don't know what |
Hm. -module(ejabberd_dekaf_client).
-behavior(gen_server).
start_link(_,_,_) -> gen_server:start_link(?MODULE, {}, []).
init(_) ->
process_flag(trap_exit, true),
{ok, foo}. |
Could it be that because you trap exits, the process doesn't die when the test is over and it continues to call the mock (which is gone since the test is over)? |
Closing because of inactivity. Please re-open if it is still an issue! |
This test is crashing (after succeeding) with:
For some reason, if I shorted the test a bit, it passes:
Thanks for looking.
The text was updated successfully, but these errors were encountered: