diff --git a/java/yb-pgsql/src/test/java/org/yb/pgsql/BasePgSQLTest.java b/java/yb-pgsql/src/test/java/org/yb/pgsql/BasePgSQLTest.java index 751483152d5f..65bdf769b112 100644 --- a/java/yb-pgsql/src/test/java/org/yb/pgsql/BasePgSQLTest.java +++ b/java/yb-pgsql/src/test/java/org/yb/pgsql/BasePgSQLTest.java @@ -188,6 +188,15 @@ public class BasePgSQLTest extends BaseMiniClusterTest { "ability to configure debug logs for connection manager to be at the same levels as " + "tserver log levels."; + protected static final String LONG_PASSWORD_SUPPORT_NEEDED = + "(DB-10387) This test leads to certain I/O errors due to the usage of long passwords when " + + "Connection Manager is enabled. Skipping this test with Connection Manager enabled."; + + protected static final String RECREATE_USER_SUPPORT_NEEDED = + "(DB-10760) This test needs stricter statistic updates for when roles are recreated when " + + "Connection Manager is enabled. Skipping this test with Connection Manager enabled " + + "until the relevant code is pushed to master."; + // Warmup modes for Connection Manager during test runs. protected static enum ConnectionManagerWarmupMode { NONE, diff --git a/java/yb-pgsql/src/test/java/org/yb/pgsql/TestPgAuthorization.java b/java/yb-pgsql/src/test/java/org/yb/pgsql/TestPgAuthorization.java index dc78ec6621d8..90221d4260e1 100644 --- a/java/yb-pgsql/src/test/java/org/yb/pgsql/TestPgAuthorization.java +++ b/java/yb-pgsql/src/test/java/org/yb/pgsql/TestPgAuthorization.java @@ -356,6 +356,11 @@ public void testRoleChanging() throws Exception { @Test public void testAttributes() throws Exception { + // (DB-10760) Role OID-based pool design is needed in addition to waiting + // for connection count-related statistics for this test to pass when + // Connection Manager is enabled. Skipping this test temporarily. + assumeFalse(BasePgSQLTest.RECREATE_USER_SUPPORT_NEEDED, isTestRunningWithConnectionManager()); + // NOTE: The INHERIT attribute is tested separately in testMembershipInheritance. try (Statement statement = connection.createStatement()) { statement.execute("CREATE ROLE unprivileged"); @@ -3225,6 +3230,14 @@ public void testMultiNodeOwnershipChanges() throws Exception { @Test public void testLongPasswords() throws Exception { + // (DB-10387) (DB-10760) Using long passwords with Connection Manager + // causes I/O errors during test execution. Skip this test temporarily + // until support for the same can be provided with Connection Manager. + // This test will further need the support of role OID-based pooling + // to help support recreate role operations (DROP ROLE followed by + // CREATE ROLE). + assumeFalse(BasePgSQLTest.LONG_PASSWORD_SUPPORT_NEEDED, isTestRunningWithConnectionManager()); + try (Statement statement = connection.createStatement()) { statement.execute("CREATE ROLE unprivileged");