Skip to content

Commit 7371953

Browse files
committed
Update Fix_get_file_bytes from main.
1 parent 136befa commit 7371953

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/test/java/org/apache/datasketches/kll/KllCrossLanguageTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -210,7 +210,7 @@ public int compare(final String s1, final String s2) {
210210
public void kllLong() throws IOException {
211211
final int[] nArr = {0, 10, 100, 1000, 10000, 100000, 1000000};
212212
for (final int n: nArr) {
213-
final byte[] bytes = Files.readAllBytes(cppPath.resolve("kll_long_n" + n + "_cpp.sk"));
213+
final byte[] bytes = getFileBytes(cppPath,"kll_long_n" + n + "_cpp.sk");
214214
final KllLongsSketch sketch = KllLongsSketch.heapify(MemorySegment.ofArray(bytes));
215215
assertEquals(sketch.getK(), 200);
216216
assertTrue(n == 0 ? sketch.isEmpty() : !sketch.isEmpty());

0 commit comments

Comments
 (0)