On Tue, Aug 18, 2015 at 8:12 PM, Michael Dürig <mdue...@apache.org> wrote:
> This is caused by MBeanIntegrationTest. Any idea what could have caused
> this? Chetan?

Seen this before also and was not able to reproduce locally.

Looking again today I realized that its resource cleanup issue and
some test is not shutting down the repository properly leaving mbeans
registered. The order in which test get executed on CI and on local
differs. Its bit hard to reproduce the same order of execution so have
to create suite and reduce the possible candidates to 2

import org.junit.runner.RunWith;
import org.junit.runners.Suite;

@RunWith(Suite.class)
@Suite.SuiteClasses({SimpleRepositoryFactoryTest.class,
                     MBeanIntegrationTest.class,
})
public class TestSuite
{
}

And then execute that within IDE or command line and issue was seen.
SimpleRepositoryFactoryTest was not closing the created repo. Fixed
that now with rev http://svn.apache.org/r1696522. Hopefully this
should fix the issue!


Chetan Mehrotra

Reply via email to