xtern commented on code in PR #6011:
URL: https://github.com/apache/ignite-3/pull/6011#discussion_r2140146498


##########
modules/jdbc/src/integrationTest/java/org/apache/ignite/internal/jdbc/ItJdbcMetadataSelfTest.java:
##########
@@ -60,11 +57,17 @@ public class ItJdbcMetadataSelfTest extends 
AbstractJdbcSelfTest {
     @BeforeAll
     public static void createTables() throws SQLException {
         try (Statement stmt = conn.createStatement()) {
-            stmt.executeUpdate("CREATE TABLE person(name VARCHAR, age INT, 
orgid INT PRIMARY KEY)");
-            stmt.executeUpdate("INSERT INTO person (orgid, name, age) VALUES 
(1, '111', 111)");
-
-            stmt.executeUpdate("CREATE TABLE organization(id INT PRIMARY KEY, 
name VARCHAR, bigdata DECIMAL(20, 10))");
-            stmt.executeUpdate("INSERT INTO organization (id, name, bigdata) 
VALUES (1, 'AAA', 10)");
+            stmt.execute("CREATE SCHEMA IF NOT EXISTS PUBLIC;"
+                    + "CREATE SCHEMA IF NOT EXISTS META;"
+                    + "CREATE SCHEMA IF NOT EXISTS USER2;"
+                    + "CREATE SCHEMA IF NOT EXISTS USER1;"
+                    + "CREATE TABLE person(name VARCHAR(32), age INT, orgid 
INT PRIMARY KEY);"
+                    + "CREATE TABLE organization(id INT PRIMARY KEY, name 
VARCHAR, bigdata DECIMAL(20, 10));"

Review Comment:
   Test coverage improved, thanks



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscr...@ignite.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to