Description
Filesystem chain is a per-class decision. Either fsyncs are passed thru to the hardware or not globally for the test. If you have a really slow test, this can cause occasional unbearably slow runs when it gets unlucky.
/** * Annotation for test classes that should avoid always omit * actual fsync calls from reaching the filesystem. * <p> * This can be useful, e.g. if they make many lucene commits. */ @Documented @Inherited @Retention(RetentionPolicy.RUNTIME) @Target(ElementType.TYPE) public @interface SuppressFsync { String[] value(); }