I'm trying to run the tests locally. When I run lein all test, I see the following exception:
Performing task 'test' with profile(s): 'dev'
Reflection warning, langohr/core.clj:191:3 - call to method addQueueRecoveryListener can't be resolved (target class is unknown).
Using Clojure version {:major 1, :minor 6, :incremental 0, :qualifier nil}
Reflection warning, clj_http/multipart.clj:26:4 - call to org.apache.http.entity.mime.content.FileBody ctor can't be resolved.
Reflection warning, cheshire/core.clj:63:3 - call to method createJsonGenerator on com.fasterxml.jackson.core.JsonFactory can't be resolved (argument types: unknown).
lein test langohr.test.basic-test
lein test langohr.test.channel-test
lein test langohr.test.confirm-test
lein test langohr.test.consumers-test
lein test langohr.test.core-test
lein test :only langohr.test.core-test/test-connection-with-multiple-hosts
ERROR in (test-connection-with-multiple-hosts) (AMQConnection.java:340)
Uncaught exception, not in assertion.
expected: nil
actual: com.rabbitmq.client.AuthenticationFailureException: ACCESS_REFUSED - Login was refused using authentication mechanism PLAIN. For details see the broker logfile.
at com.rabbitmq.client.impl.AMQConnection.start (AMQConnection.java:340)
com.rabbitmq.client.impl.recovery.RecoveryAwareAMQConnectionFactory.newConnection (RecoveryAwareAMQConnectionFactory.java:36)
com.rabbitmq.client.impl.recovery.AutorecoveringConnection.init (AutorecoveringConnection.java:83)
com.rabbitmq.client.ConnectionFactory.newConnection (ConnectionFactory.java:609)
com.novemberain.langohr.Connection.init (Connection.java:90)
langohr.core$connect.invoke (core.clj:93)
langohr.test.core_test/fn (core_test.clj:42)
clojure.test$test_var$fn__7187.invoke (test.clj:704)
clojure.test$test_var.invoke (test.clj:704)
clojure.test$test_vars$fn__7209$fn__7214.invoke (test.clj:722)
clojure.test$default_fixture.invoke (test.clj:674)
My environment is OS X 10.10.1, installed rabbitmq version 3.4.1 using Homebrew, and I have leiningen version 2.50. Has anyone else come across this? Did I miss a setup step?
Hi!
I'm trying to run the tests locally. When I run
lein all test
, I see the following exception:The rabbitmq logs appear normal:
My environment is OS X 10.10.1, installed rabbitmq version 3.4.1 using Homebrew, and I have leiningen version 2.50. Has anyone else come across this? Did I miss a setup step?
Thanks, Bill