From 10a7b1b03549b6de6b8e1785991087a0fb430c85 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EA=B9=80=EC=84=A0=EC=9A=B0?= Date: Sun, 19 Jan 2025 17:18:21 +0900 Subject: [PATCH] Disable for now --- .../github/tursodatabase/jdbc4/JDBC4ResultSetTest.java | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/bindings/java/src/test/java/org/github/tursodatabase/jdbc4/JDBC4ResultSetTest.java b/bindings/java/src/test/java/org/github/tursodatabase/jdbc4/JDBC4ResultSetTest.java index 0c3c3a141..2d10fdb32 100644 --- a/bindings/java/src/test/java/org/github/tursodatabase/jdbc4/JDBC4ResultSetTest.java +++ b/bindings/java/src/test/java/org/github/tursodatabase/jdbc4/JDBC4ResultSetTest.java @@ -9,6 +9,7 @@ import java.util.Properties; import org.github.tursodatabase.TestUtils; import org.junit.jupiter.api.BeforeEach; +import org.junit.jupiter.api.Disabled; import org.junit.jupiter.api.Test; class JDBC4ResultSetTest { @@ -39,6 +40,7 @@ class JDBC4ResultSetTest { } @Test + @Disabled("https://github.com/tursodatabase/limbo/pull/743#issuecomment-2600746904") void invoking_next_after_the_last_row_should_return_false() throws Exception { stmt.execute("CREATE TABLE users (id INT PRIMARY KEY, username TEXT);"); stmt.execute("INSERT INTO users VALUES (1, 'sinwoo');"); @@ -50,9 +52,9 @@ class JDBC4ResultSetTest { long startTime = System.currentTimeMillis(); while (resultSet.next()) { -// if (System.currentTimeMillis() - startTime > 1000) { -// throw new Exception("Should have finished now"); -// } + if (System.currentTimeMillis() - startTime > 1000) { + throw new Exception("Should have finished now"); + } } // if the previous call to next() returned false, consecutive call to next() should return false as well