jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jukka Zitting" <jukka.zitt...@gmail.com>
Subject Occasional jcr2spi test failures
Date Thu, 08 May 2008 10:46:13 GMT

Every now and then I see the following jcr2spi test failures on a
clean checkout:

    Tests in error:

The problem seems to be caused by the test cases automatically
choosing the "security" workspace for the update test. The reason why
the tests only fail occasionally is that currently the ordering of the
string array returned by getAccessibleWorkspaceNames() is not

I can work around the issue by making
RepositoryImpl.getWorkspaceNames() explicitly sort the returned array
of names, but a more proper fix would probably be to ensure that the
workspace selected by UpdateTest is useful for the test.


Jukka Zitting

View raw message