25
1
mirror of https://github.com/processone/ejabberd.git synced 2024-11-20 16:15:59 +01:00

Try to fix interminent failures in cyrsasl tests

This commit is contained in:
Paweł Chmielowski 2016-12-06 18:33:16 +01:00
parent 1c8edd07a1
commit a681874f67

View File

@ -32,6 +32,7 @@ defmodule EjabberdCyrsaslTest do
:ok = :cyrsasl.start
cyrstate = :cyrsasl.server_new("domain1", "domain1", "domain1", :ok, &get_password/1,
&check_password/3, &check_password_digest/5)
setup_anonymous_mocks()
{:ok, cyrstate: cyrstate}
end
@ -53,7 +54,6 @@ defmodule EjabberdCyrsaslTest do
end
test "Anonymous", context do
setup_anonymous_mocks()
step1 = :cyrsasl.server_start(context[:cyrstate], "ANONYMOUS", "domain1")
assert {:ok, _} = step1
end