1 parent de0ce65 commit d4049deCopy full SHA for d4049de
1 file changed
src/test/java/io/delta/sharing/java/format/parquet/LocalInputFileTestCase.java
@@ -8,7 +8,7 @@
8
import org.junit.jupiter.api.Assertions;
9
import org.junit.jupiter.api.Test;
10
11
-/**
+/**
12
* Test cases for local Input File.
13
*
14
* @throws IOException for all IO problems
@@ -59,6 +59,8 @@ public void testReadByteBuffers() throws IOException {
59
ByteBuffer byteBuffer = ByteBuffer.allocateDirect(8192 * 4);
60
SeekableInputStream stream = localInputFile.newStream();
61
62
+ Assertions.assertDoesNotThrow(() -> stream.reset(), "assert no exception for reset");
63
+
64
Assertions.assertDoesNotThrow(() -> stream.read(byteBuffer),
65
"assert no exception for read with byte buffer");
66
0 commit comments