Skip to content

Commit 2b22fec

Browse files
committed
fixup! simple fix of oracle stream API for RAW column
Fix unit test for master Signed-off-by: turakamou <[email protected]>
1 parent 83c2ded commit 2b22fec

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

vertx-oracle-client/src/test/java/tests/oracleclient/OracleBinaryDataTypesTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ private <T> void testDecode(TestContext ctx, String columnName, JDBCType jdbcTyp
102102
}
103103

104104
private void testDecodeUsingStream(TestContext ctx, String columnName, JDBCType jdbcType, Buffer expected) {
105-
pool.getConnection(ctx.asyncAssertSuccess(conn -> {
105+
pool.getConnection().onComplete(ctx.asyncAssertSuccess(conn -> {
106106
conn.prepare("SELECT " + columnName + " FROM binary_data_types WHERE id = 1")
107107
.onComplete(ctx.asyncAssertSuccess(preparedStatement -> {
108108
preparedStatement.cursor().read(10).onComplete(ctx.asyncAssertSuccess(result -> {

0 commit comments

Comments
 (0)