directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Emmanuel Lécharny <elecha...@gmail.com>
Subject Strange failure in LDAP API...
Date Mon, 19 Aug 2013 06:19:06 GMT
Hi guys,

this morning, while running a mvn clean install, I've got this error :

-------------------------------------------------------------------------------
Test set: org.apache.directory.api.dsmlv2.abandonRequest.AbandonRequestTest
-------------------------------------------------------------------------------
Tests run: 11, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.558
sec <<< FAILURE! - in
org.apache.directory.api.dsmlv2.abandonRequest.AbandonRequestTest
testRequestWith1Control(org.apache.directory.api.dsmlv2.abandonRequest.AbandonRequestTest)

Time elapsed: 0.049 sec  <<< ERROR!
java.lang.IllegalStateException: The LdapCodecService is already set to
an instance of org.apache.directory.api.ldap.codec.api.LdapApiServiceFactory
        at
org.apache.directory.api.ldap.codec.api.LdapApiServiceFactory.initialize(LdapApiServiceFactory.java:113)
        at
org.apache.directory.api.ldap.codec.api.LdapApiServiceFactory.getSingleton(LdapApiServiceFactory.java:89)
        at
org.apache.directory.api.dsmlv2.AbstractTest.<init>(AbstractTest.java:42)
        at
org.apache.directory.api.dsmlv2.abandonRequest.AbandonRequestTest.<init>(AbandonRequestTest.java:53)


This is quite weaird, as this tes never failed.

Is it something due to the OSGi framework, or some concurrent issue with
the tests ?

-- 
Regards,
Cordialement,
Emmanuel Lécharny
www.iktek.com 


Mime
View raw message