[
https://issues.apache.org/jira/browse/SLING-6524?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15871549#comment-15871549
]
Timothee Maret commented on SLING-6524:
---------------------------------------
I could reproduce this on my machine.
Digging into it, the test fails with:
{code}
testEnableQueueProcessingWithCheckpointRecovery(org.apache.sling.distribution.queue.impl.simple.SimpleDistributionQueueProviderTest)
Time elapsed: 0.019 sec <<< ERROR!
java.io.IOException: Unable to delete directory
dummy-agent-simple-queues-checkpoints.
at org.apache.commons.io.FileUtils.deleteDirectory(FileUtils.java:1541)
at
org.apache.sling.distribution.queue.impl.simple.SimpleDistributionQueueProviderTest.testEnableQueueProcessingWithCheckpointRecovery(SimpleDistributionQueueProviderTest.java:111)
{code}
This indicates that the following Apache commons io
{{FileUtils.deleteDirectory}} call at [0] fails to delete the repository, yet
the repository actually exists and is read/write able.
{{/tmp}} is a symlink (to {{private/tmp}}) so, it seems we are hitting IO-168.
[0]
https://github.com/apache/sling/blob/trunk/contrib/extensions/distribution/core/src/test/java/org/apache/sling/distribution/queue/impl/simple/SimpleDistributionQueueProviderTest.java#L111
> SimpleDistributionQueueProviderTest#testEnableQueueProcessingWithCheckpointRecovery
> fails with symlinks
> -------------------------------------------------------------------------------------------------------
>
> Key: SLING-6524
> URL: https://issues.apache.org/jira/browse/SLING-6524
> Project: Sling
> Issue Type: Bug
> Components: Content Distribution
> Reporter: Timothee Maret
> Assignee: Timothee Maret
>
> As reported by Daniel Klco on [0], the unit test
> {{SimpleDistributionQueueProviderTest#testEnableQueueProcessingWithCheckpointRecovery}}
> fail when checking out the project from a tag under {{/tmp}}.
> [0] https://www.mail-archive.com/[email protected]/msg64497.html
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)