Skip to content

Commit c30df2f

Browse files
authored
Disable OracleConnectionTest#testConnectNoLeak tests (#1482)
Disabled for Oracle because we frequently get ORA-12516 Cannot connect to database See https://docs.oracle.com/en/error-help/db/ora-12516/?r=23ai Probable cause is that the service handler gets in a blocked state and is not accepting new connections. Signed-off-by: Thomas Segismont <tsegismont@gmail.com>
1 parent 9bd56bf commit c30df2f

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed

vertx-oracle-client/src/test/java/io/vertx/oracleclient/test/tck/OracleConnectionTest.java

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@
1616
import io.vertx.sqlclient.spi.DatabaseMetadata;
1717
import io.vertx.sqlclient.tck.ConnectionTestBase;
1818
import org.junit.ClassRule;
19+
import org.junit.Ignore;
20+
import org.junit.Test;
1921
import org.junit.runner.RunWith;
2022

2123
@RunWith(VertxUnitRunner.class)
@@ -41,4 +43,24 @@ protected void validateDatabaseMetaData(TestContext ctx, DatabaseMetadata md) {
4143
ctx.assertTrue(md.fullVersion().contains("Oracle"));
4244
ctx.assertTrue(md.productName().contains("Oracle"));
4345
}
46+
47+
@Test
48+
@Ignore
49+
@Override
50+
public void testConnectNoLeak(TestContext ctx) throws Exception {
51+
// Disabled for Oracle because we frequently get ORA-12516 Cannot connect to database
52+
// https://docs.oracle.com/en/error-help/db/ora-12516/?r=23ai
53+
// Probable cause is that the service handler gets in a blocked state and is not accepting new connections
54+
super.testConnectNoLeak(ctx);
55+
}
56+
57+
@Test
58+
@Ignore
59+
@Override
60+
public void testConnectNoLeakInVerticle(TestContext ctx) throws Exception {
61+
// Disabled for Oracle because we frequently get ORA-12516 Cannot connect to database
62+
// https://docs.oracle.com/en/error-help/db/ora-12516/?r=23ai
63+
// Probable cause is that the service handler gets in a blocked state and is not accepting new connections
64+
super.testConnectNoLeakInVerticle(ctx);
65+
}
4466
}

0 commit comments

Comments
 (0)