aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorPaweł Chmielowski <pchmielowski@process-one.net>2016-12-06 18:33:16 +0100
committerPaweł Chmielowski <pchmielowski@process-one.net>2016-12-06 18:33:16 +0100
commita681874f677ad771ff6a633e59f6d9ef7fc84fbb (patch)
tree1a9c4a3b2eca35d91d9625668f5005f33e82eb78 /test
parentUpdate xmpp lib version and fix path when using deps.get and compile in same ... (diff)
Try to fix interminent failures in cyrsasl tests
Diffstat (limited to 'test')
-rw-r--r--test/ejabberd_cyrsasl_test.exs2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/ejabberd_cyrsasl_test.exs b/test/ejabberd_cyrsasl_test.exs
index 6b0127015..2d497a62f 100644
--- a/test/ejabberd_cyrsasl_test.exs
+++ b/test/ejabberd_cyrsasl_test.exs
@@ -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