[
https://issues.apache.org/jira/browse/VFS-856?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Gary D. Gregory resolved VFS-856.
---------------------------------
Fix Version/s: 2.10.1
Resolution: Fixed
> test failure: check that change events from delegated files are fired
> ---------------------------------------------------------------------
>
> Key: VFS-856
> URL: https://issues.apache.org/jira/browse/VFS-856
> Project: Commons VFS
> Issue Type: Improvement
> Reporter: Arnout Engelen
> Priority: Minor
> Fix For: 2.10.1
>
>
> when doing for example 'mvn install':
> {code:java}
> [ERROR] Failures:
> [ERROR] VirtualProviderTestCase>AbstractProviderTestCase.runTest:293 Weak
> Listener was abandoned expected:<Listener false [tru]e false> but
> was:<Listener false [fals]e false>
> [INFO]
> [ERROR] Tests run: 3281, Failures: 1, Errors: 0, Skipped: 9
> {code}
> This is from the test that "Checks that change events from delegated files
> are fired." in JunctionTests - apparently the 'created' event did not trigger.
> Adding a 'assertFalse("Test file should not exist yet", file2.exists());'
> just after 'resolveFile' fails, so I suppose this is because 'createFile'
> does nothing when the file already exists. That makes sense I guess. Is the
> test ran twice? Should that work in the first place?
> This is on Linux in a bwrap, not sure what else is special about my setup.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)