digitalroastery / weblounge

Web Content Management System
12 stars 4 forks source link

Random test failures in FileSystemContentRepositoryTes #330

Closed ghost closed 8 years ago

ghost commented 10 years ago

This test sometimes succeeds, sometimes doesn't.

testLock(ch.entwine.weblounge.contentrepository.fs.FileSystemContentRepositoryTest) Time elapsed: 1.318 sec <<< ERROR! java.lang.IllegalStateException: The page is already locked by at ch.entwine.weblounge.common.impl.content.ResourceImpl.lock(ResourceImpl.java:848) at ch.entwine.weblounge.contentrepository.impl.operation.LockOperationImpl.apply(LockOperationImpl.java:83) at ch.entwine.weblounge.contentrepository.impl.AbstractWritableContentRepository.get(AbstractWritableContentRepository.java:322) at ch.entwine.weblounge.contentrepository.impl.AbstractWritableContentRepository.isLocked(AbstractWritableContentRepository.java:464) at ch.entwine.weblounge.contentrepository.fs.FileSystemContentRepositoryTest.testLock(FileSystemContentRepositoryTest.java:917)

Results :

Tests in error: FileSystemContentRepositoryTest.testLock:917 ? IllegalState The page is alread...

Tests run: 90, Failures: 0, Errors: 1, Skipped: 4

[ERROR] There are test failures.

myniva commented 8 years ago

duplicate of #369