From 16170ea4a20377934cd77c536d01d43759e0ea2b Mon Sep 17 00:00:00 2001 From: Sualeh Fatehi Date: Wed, 14 Aug 2024 21:53:17 -0400 Subject: [PATCH] Fix Oracle tests --- .../test/OracleSpecialUsersTest.java | 2 +- .../testOracleWithNoAccessUser.8.txt | 19 ++++++++++++------- .../testOracleWithNoAccessUser.LTE.txt | 19 ++++++++++++------- 3 files changed, 25 insertions(+), 15 deletions(-) diff --git a/schemacrawler-oracle/src/test/java/schemacrawler/integration/test/OracleSpecialUsersTest.java b/schemacrawler-oracle/src/test/java/schemacrawler/integration/test/OracleSpecialUsersTest.java index b4d9876ec2..278e4fe513 100644 --- a/schemacrawler-oracle/src/test/java/schemacrawler/integration/test/OracleSpecialUsersTest.java +++ b/schemacrawler-oracle/src/test/java/schemacrawler/integration/test/OracleSpecialUsersTest.java @@ -127,7 +127,7 @@ public void testOracleWithNoAccessUser() throws Exception { DatabaseConnectionSources.fromDataSource(noAccessUserDataSource); final String expectedResource = String.format("testOracleWithNoAccessUser.%s.txt", javaVersion()); - testOracleWithConnection(dataSource, expectedResource, 34, true); + testOracleWithConnection(dataSource, expectedResource, 34, false); final DatabaseAccessException sqlException = assertThrows( diff --git a/schemacrawler-oracle/src/test/resources/testOracleWithNoAccessUser.8.txt b/schemacrawler-oracle/src/test/resources/testOracleWithNoAccessUser.8.txt index dabcd29553..066da83fe8 100644 --- a/schemacrawler-oracle/src/test/resources/testOracleWithNoAccessUser.8.txt +++ b/schemacrawler-oracle/src/test/resources/testOracleWithNoAccessUser.8.txt @@ -3,11 +3,11 @@ System Information ======================================================================== -generated by SchemaCrawler 16.21.4 -generated on 2024-06-28 12:38:41 +generated by SchemaCrawler 16.22.2 +generated on 2024-08-15 01:40:57 database version Oracle Oracle Database 23ai Free Release 23.0.0.0.0 - Develop, Learn, and Run for Free Version 23.4.0.24.05 -driver version Oracle JDBC driver 21.14.0.0.0 +driver version Oracle JDBC driver 21.15.0.0.0 @@ -166,7 +166,7 @@ deletes are detected for TYPE_SCROLL_INSENSITIVE result sets false deletes are detected for TYPE_SCROLL_SENSITIVE result sets false does max row size include blobs true driver major version 21 -driver minor version 14 +driver minor version 15 extra name characters $# generated key always returned false identifier quote string " @@ -316,9 +316,9 @@ uses local files false JDBC Driver Information -=--=--=--=--=--=--=--=--=--=--=--=--=--=--=--=--=--=--=--=--=--=--=--=- -connection url jdbc:oracle:thin:@localhost:58757/freepdb1 +connection url jdbc:oracle:thin:@localhost:50901/freepdb1 driver name Oracle JDBC driver -driver version 21.14.0.0.0 +driver version 21.15.0.0.0 driver class name oracle.jdbc.OracleDriver is JDBC compliant true supported JDBC version 4.2 @@ -349,7 +349,7 @@ com.sun.jndi.ldap.read.timeout [driver property] database [driver property] not required - value localhost:58757/freepdb1 + value localhost:50901/freepdb1 defaultExecuteBatch [driver property] @@ -1066,6 +1066,11 @@ oracle.net.useJCEAPI [driver property] not required value true +oracle.net.useTcpFastOpen [driver property] + + not required + value false + oracle.net.useZeroCopyIO [driver property] not required diff --git a/schemacrawler-oracle/src/test/resources/testOracleWithNoAccessUser.LTE.txt b/schemacrawler-oracle/src/test/resources/testOracleWithNoAccessUser.LTE.txt index b2babb1c14..62af46e222 100644 --- a/schemacrawler-oracle/src/test/resources/testOracleWithNoAccessUser.LTE.txt +++ b/schemacrawler-oracle/src/test/resources/testOracleWithNoAccessUser.LTE.txt @@ -3,11 +3,11 @@ System Information ======================================================================== -generated by SchemaCrawler 16.21.4 -generated on 2024-06-28 12:46:46 +generated by SchemaCrawler 16.22.2 +generated on 2024-08-15 01:48:54 database version Oracle Oracle Database 23ai Free Release 23.0.0.0.0 - Develop, Learn, and Run for Free Version 23.4.0.24.05 -driver version Oracle JDBC driver 21.14.0.0.0 +driver version Oracle JDBC driver 21.15.0.0.0 @@ -166,7 +166,7 @@ deletes are detected for TYPE_SCROLL_INSENSITIVE result sets false deletes are detected for TYPE_SCROLL_SENSITIVE result sets false does max row size include blobs true driver major version 21 -driver minor version 14 +driver minor version 15 extra name characters $# generated key always returned false identifier quote string " @@ -317,9 +317,9 @@ uses local files false JDBC Driver Information -=--=--=--=--=--=--=--=--=--=--=--=--=--=--=--=--=--=--=--=--=--=--=--=- -connection url jdbc:oracle:thin:@localhost:58945/freepdb1 +connection url jdbc:oracle:thin:@localhost:51161/freepdb1 driver name Oracle JDBC driver -driver version 21.14.0.0.0 +driver version 21.15.0.0.0 driver class name oracle.jdbc.OracleDriver is JDBC compliant true supported JDBC version 4.2 @@ -350,7 +350,7 @@ com.sun.jndi.ldap.read.timeout [driver property] database [driver property] not required - value localhost:58945/freepdb1 + value localhost:51161/freepdb1 defaultExecuteBatch [driver property] @@ -1067,6 +1067,11 @@ oracle.net.useJCEAPI [driver property] not required value true +oracle.net.useTcpFastOpen [driver property] + + not required + value false + oracle.net.useZeroCopyIO [driver property] not required