-
Improvement
-
Resolution: Fixed
-
Neutral
-
5.4.4
-
None
-
None
-
-
Empty show more show less
-
Basel 27
-
1
DirectoryWatcher test is in main/magnolia-resource-loader which currently takes 2 minutes and 20 seconds to build on my machine. This time is spent waiting for file system polling which only happens every 10 seconds. Each test has to wait for these 10 seconds to verify its result.
In the Oracle JVM the 10 second interval is the default and can be changed down to 2 seconds. This reduces the build time to 53 seconds. A reduction by 87 seconds, 62%.
Doing it requires a change to DirectoryWatcher itself, to get the modifiers in there for the register call. I've tried changing just the test by using reflection and proxies to squeeze the extra modifier in there but it's just too much work.
- relates to
-
MAGNOLIA-6623 Speed up DirectoryWatcher on OSX in developer mode
- Closed