[ https://issues.apache.org/jira/browse/SLING-12685?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Stefan Seifert closed SLING-12685. ---------------------------------- > FSResource: Fix or work around flaky FileMonitor unit tests on windows > ---------------------------------------------------------------------- > > Key: SLING-12685 > URL: https://issues.apache.org/jira/browse/SLING-12685 > Project: Sling > Issue Type: Bug > Reporter: Stefan Seifert > Assignee: Stefan Seifert > Priority: Major > Fix For: File System Resource Provider 2.3.0 > > > on jenkins, the unit tests running with windows fail most times (not always): > {noformat} > [INFO] Running org.apache.sling.fsprovider.internal.FileMonitorTest > [ERROR] Tests run: 8, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 4.437 > s <<< FAILURE! -- in org.apache.sling.fsprovider.internal.FileMonitorTest > [ERROR] > org.apache.sling.fsprovider.internal.FileMonitorTest.testUpdateContent -- > Time elapsed: 0.442 s <<< FAILURE! > java.lang.AssertionError: Change with path=/fs-test/folder2/content, > changeType=REMOVED expected > at org.junit.Assert.fail(Assert.java:89) > at org.junit.Assert.assertTrue(Assert.java:42) > at > org.apache.sling.fsprovider.internal.TestUtils.assertChange(TestUtils.java:117) > at > org.apache.sling.fsprovider.internal.FileMonitorTest.testUpdateContent(FileMonitorTest.java:189) > {noformat} > i cannot reproduce the problem on a local windows machine. -- This message was sent by Atlassian Jira (v8.20.10#820010)