Skip to content

Commit

Permalink
test: Removed deadloop
Browse files Browse the repository at this point in the history
  • Loading branch information
Julien Ruaux committed Jan 25, 2023
1 parent 838d769 commit acac470
Showing 1 changed file with 0 additions and 10 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
package com.redis.sidecar;

import java.nio.ByteBuffer;
import java.sql.ResultSetMetaData;
import java.sql.SQLException;
import java.sql.Timestamp;
Expand Down Expand Up @@ -113,15 +112,6 @@ void explicitCodec() throws SQLException {
TestUtils.assertEquals(rowSet, actual);
}

@Test
void explicitDecode() throws SQLException {
ExplicitResultSetCodec codec = new ExplicitResultSetCodec(rowSetFactory, BYTE_BUFFER_CAPACITY);
ByteBuffer byteBuffer = codec.encodeValue(rowSet(100, 10000));
while (true) {
codec.decodeValue(byteBuffer);
}
}

@Test
void jdkCodec() throws SQLException {
RowSet rowSet = rowSet(10, 100);
Expand Down

0 comments on commit acac470

Please sign in to comment.