]> source.dussan.org Git - archiva.git/commit
Adding retry to some tests because of async index updates
authorMartin Stockhammer <martin.stockhammer@ars.de>
Tue, 19 Sep 2017 11:20:54 +0000 (13:20 +0200)
committerMartin Stockhammer <martin.stockhammer@ars.de>
Tue, 19 Sep 2017 11:20:54 +0000 (13:20 +0200)
commit3ae101f7a9eccbb8213bba0f0ee73097aafe9c08
tree73a2611996b1d2887f1efe225370d60bdd31bb88
parentd9beaa1d2b87fdfb3b66e9db45771f01d0587bad
Adding retry to some tests because of async index updates

Adding tryAssert function that does repeatedly run the assert
function, because JCR Oak uses asynchronous index updates and changes
are not reflected immediately in the index.
archiva-modules/metadata/metadata-repository-api/src/test/java/org/apache/archiva/metadata/repository/AbstractMetadataRepositoryTest.java