Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
JingsongLi committed Jan 31, 2024
1 parent ccc3f58 commit 01e2465
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ private HashLookupStoreReader writeData(
Arrays.fill(value, (byte) 1);
HashLookupStoreFactory factory =
new HashLookupStoreFactory(
new CacheManager(MemorySize.ofMebiBytes(10)), 16 * 1024, 0.75, null);
new CacheManager(MemorySize.ofMebiBytes(10)), 16 * 1024, 0.75, "none");

File file = new File(tempDir.toFile(), UUID.randomUUID().toString());
HashLookupStoreWriter writer = factory.createWriter(file, filter);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -78,8 +78,8 @@ public HashLookupStoreFactoryTest(List<Object> var) {
@Parameters(name = "enableBf&compress-{0}")
public static List<List<Object>> getVarSeg() {
return Arrays.asList(
Arrays.asList(true, null),
Arrays.asList(false, null),
Arrays.asList(true, "none"),
Arrays.asList(false, "none"),
Arrays.asList(false, "lz4"),
Arrays.asList(true, "lz4"));
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ private ContainsLevels createContainsLevels(Levels levels, MemorySize maxDiskSiz
0, file.fileName(), file.fileSize(), file.level()),
() -> new File(tempDir.toFile(), LOOKUP_FILE_PREFIX + UUID.randomUUID()),
new HashLookupStoreFactory(
new CacheManager(MemorySize.ofMebiBytes(1)), 2048, 0.75, null),
new CacheManager(MemorySize.ofMebiBytes(1)), 2048, 0.75, "none"),
Duration.ofHours(1),
maxDiskSize,
rowCount -> BloomFilter.builder(rowCount, 0.01));
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -227,7 +227,7 @@ private LookupLevels createLookupLevels(Levels levels, MemorySize maxDiskSize) {
0, file.fileName(), file.fileSize(), file.level()),
() -> new File(tempDir.toFile(), LOOKUP_FILE_PREFIX + UUID.randomUUID()),
new HashLookupStoreFactory(
new CacheManager(MemorySize.ofMebiBytes(1)), 2048, 0.75, null),
new CacheManager(MemorySize.ofMebiBytes(1)), 2048, 0.75, "none"),
Duration.ofHours(1),
maxDiskSize,
rowCount -> BloomFilter.builder(rowCount, 0.05));
Expand Down

0 comments on commit 01e2465

Please sign in to comment.