[
https://issues.apache.org/jira/browse/JCR-5207?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18059326#comment-18059326
]
Julian Reschke commented on JCR-5207:
-------------------------------------
{code}
[ERROR]
org.apache.jackrabbit.core.query.lucene.IndexingQueueTest.testReaderUpToDate --
Time elapsed: 0.445 s <<< FAILURE!
junit.framework.AssertionFailedError: Unable to delete index directory
at junit.framework.Assert.fail(Assert.java:57)
at junit.framework.TestCase.fail(TestCase.java:223)
at
org.apache.jackrabbit.core.query.lucene.IndexingQueueTest.testReaderUpToDate(IndexingQueueTest.java:153)
at
java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at
java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:566)
at junit.framework.TestCase.runTest(TestCase.java:177)
at junit.framework.TestCase.runBare(TestCase.java:142)
at junit.framework.TestResult$1.protect(TestResult.java:122)
at junit.framework.TestResult.runProtected(TestResult.java:142)
at junit.framework.TestResult.run(TestResult.java:125)
at org.apache.jackrabbit.test.JCRTestResult.run(JCRTestResult.java:75)
at junit.framework.TestCase.run(TestCase.java:130)
at
org.apache.jackrabbit.test.AbstractJCRTest.run(AbstractJCRTest.java:475)
at junit.framework.TestSuite.runTest(TestSuite.java:241)
at junit.framework.TestSuite.run(TestSuite.java:236)
at junit.framework.TestSuite.runTest(TestSuite.java:241)
at
org.apache.jackrabbit.test.ConcurrentTestSuite.access$001(ConcurrentTestSuite.java:29)
at
org.apache.jackrabbit.test.ConcurrentTestSuite$2.run(ConcurrentTestSuite.java:67)
at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(Unknown
Source)
{code}
> Deprecate TransientFileFactory (also add test hook)
> ---------------------------------------------------
>
> Key: JCR-5207
> URL: https://issues.apache.org/jira/browse/JCR-5207
> Project: Jackrabbit Content Repository
> Issue Type: Task
> Components: jackrabbit-jcr-commons
> Reporter: Julian Reschke
> Assignee: Julian Reschke
> Priority: Minor
>
> - it depends on GC and/or shutdown hooks and thus is not predictable
> - it still potentially leaks files
> - it hides coding errors
> - code that relies on files not being removed may break when the cleanup
> actually runs early
--
This message was sent by Atlassian Jira
(v8.20.10#820010)