Do less aggressive test sampling when running tests locally

Instead of filtering out 95% of test samples, now only filter out 85%.
This commit is contained in:
Chris Vest 2021-05-27 17:38:38 +02:00
parent 05d76c27c1
commit b1b2c983f8

View File

@ -94,8 +94,8 @@ public abstract class BufferTestSupport {
if ("nosample".equalsIgnoreCase(sampleSetting)) {
return fixture -> true;
}
// Filter out 95% of tests.
return filterOfTheDay(5);
// Filter out 85% of tests.
return filterOfTheDay(15);
}
protected static Predicate<Fixture> filterOfTheDay(int percentage) {