Fixing build failure for distro test

This commit is contained in:
expani 2024-08-07 01:49:37 +05:30
parent b833e731dc
commit db1ed1d067
2 changed files with 2 additions and 1 deletions

View File

@ -59,7 +59,8 @@ public class DocIdEncodingBenchmark {
try (Scanner fileReader =
new Scanner(
Objects.requireNonNull(
DocIdEncodingBenchmark.class.getResourceAsStream("/docIds_bpv21.txt")),
DocIdEncodingBenchmark.class.getResourceAsStream(
"/org.apache.lucene.benchmark.jmh/docIds_bpv21.txt")),
Charset.defaultCharset())) {
while (fileReader.hasNextLine()) {
String sequence = fileReader.nextLine().trim();