Skip to content

Commit

Permalink
Disable OracleConnectionTest#testConnectNoLeak tests (#1482)
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
tsegismont authored Jan 7, 2025
1 parent 9bd56bf commit c30df2f
Showing 1 changed file with 22 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@
import io.vertx.sqlclient.spi.DatabaseMetadata;
import io.vertx.sqlclient.tck.ConnectionTestBase;
import org.junit.ClassRule;
import org.junit.Ignore;
import org.junit.Test;
import org.junit.runner.RunWith;

@RunWith(VertxUnitRunner.class)
Expand All @@ -41,4 +43,24 @@ protected void validateDatabaseMetaData(TestContext ctx, DatabaseMetadata md) {
ctx.assertTrue(md.fullVersion().contains("Oracle"));
ctx.assertTrue(md.productName().contains("Oracle"));
}

@Test
@Ignore
@Override
public void testConnectNoLeak(TestContext ctx) throws Exception {
// Disabled for Oracle because we frequently get ORA-12516 Cannot connect to database
// 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
super.testConnectNoLeak(ctx);
}

@Test
@Ignore
@Override
public void testConnectNoLeakInVerticle(TestContext ctx) throws Exception {
// Disabled for Oracle because we frequently get ORA-12516 Cannot connect to database
// 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
super.testConnectNoLeakInVerticle(ctx);
}
}

0 comments on commit c30df2f

Please sign in to comment.