[jboss-jira] [JBoss JIRA] (REMJMX-36) The SecurityClientTest currently contains a static reference to the config - this means that depending on the order the tests are executed the wrong config could be used.
Darran Lofthouse (JIRA)
jira-events at lists.jboss.org
Wed Mar 14 11:11:47 EDT 2012
Darran Lofthouse created REMJMX-36:
--------------------------------------
Summary: The SecurityClientTest currently contains a static reference to the config - this means that depending on the order the tests are executed the wrong config could be used.
Key: REMJMX-36
URL: https://issues.jboss.org/browse/REMJMX-36
Project: Remoting JMX
Issue Type: Bug
Components: Tests
Affects Versions: 1.0.2.Final
Reporter: Darran Lofthouse
Assignee: Darran Lofthouse
Fix For: 1.0.3.Final
An example failure caused by the differing orders is: -
-------------------------------------------------------------------------------
Test set: org.jboss.remotingjmx.SecurityClientTest
-------------------------------------------------------------------------------
Tests run: 4, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 1.984 sec <<< FAILURE!
testAnonymousAuthentication(org.jboss.remotingjmx.SecurityClientTest) Time elapsed: 0.116 sec <<< ERROR!
javax.security.sasl.SaslException: Cannot get userid/password [Caused by javax.security.auth.callback.UnsupportedCallbackException]
at com.sun.security.sasl.ClientFactoryImpl.getUserInfo(ClientFactoryImpl.java:157)
at com.sun.security.sasl.ClientFactoryImpl.createSaslClient(ClientFactoryImpl.java:94)
at org.jboss.remoting3.remote.ClientConnectionOpenListener$Capabilities$1.run(ClientConnectionOpenListener.java:352)
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list