sahvx655-wq opened a new pull request, #515: URL: https://github.com/apache/felix-dev/pull/515
Modifies `testInvalidTempDir` in `DirectoryWatcherTest` to verify that `parent.setWritable(false)` actually takes effect before proceeding with the test. Some file systems and operating systems do not reliably enforce directory write-permission changes (for example, common Windows/NTFS configurations for the directory owner). In such environments, the test's assumptions are invalid and can lead to false failures. If write access cannot be revoked as expected, the test exits early instead of failing, ensuring consistent behavior across platforms while preserving test coverage where permission enforcement is supported. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
