Allow spill tests to run when disk space is low
@@ -74,6 +74,7 @@ public class TestGenericPartitioningSpiller
FeaturesConfig featuresConfig = new FeaturesConfig();
featuresConfig.setSpillerSpillPaths(tempDirectory.toString());
featuresConfig.setSpillerThreads(8);
+ featuresConfig.setSpillMaxUsedSpaceThreshold(1.0);
singleStreamSpillerFactory = new FileSingleStreamSpillerFactory(blockEncodingSerde, new SpillerStats(), featuresConfig);
factory = new GenericPartitioningSpillerFactory(singleStreamSpillerFactory);
}
