Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[ #21499] YSQL: Skipping the test with connection manager as they are…
… unsuitable Summary: This diff fixes the following tests with ysql connection manager by skipping them from running with connection manager. # `org.yb.pgsql.TestDropTableWithConcurrentTxn#testDmlTxnDrop` # `org.yb.pgsql.TestDropTableWithConcurrentTxn#testDmlTxnDropWithReadCommitted` # `org.yb.pgsql.TestAlterTableWithConcurrentTxn#testDmlTransactionAfterAlterOnCurrentResourceWithCachedMetadata` Above tests are not suitable while running with ysql connection manager. The tests are designed in a way which requires each client connection to have a dedicated backend process associated which is not the case with ysql connection manager. On executing any DML on a particular backend process the meta data of the object is cached onto the backend process. The test is designed with the following premise: # when withCachedMetadata is true, then the same backend processes the queries in a session # withCachedMetadata is false, a new backend processes queries for a new connection (session) In both above cases, the premise cannot be guaranteed when run with Connection Manager, hence rendering the tests unsuitable for running with Connection Manager. Jira: DB-10383 Test Plan: Jenkins: all tests, enable connection manager Ensure below test runs successfully with ysql connection manager: # `./yb_build.sh --enable-ysql-conn-mgr-test --java-test org.yb.pgsql.TestDropTableWithConcurrentTxn#testDmlTxnDrop` # `./yb_build.sh --enable-ysql-conn-mgr-test --java-test org.yb.pgsql.TestDropTableWithConcurrentTxn#testDmlTxnDropWithReadCommitted` # `./yb_build.sh --enable-ysql-conn-mgr-test --java-test org.yb.pgsql.TestAlterTableWithConcurrentTxn#testDmlTransactionAfterAlterOnCurrentResourceWithCachedMetadata` Reviewers: skumar, asrinivasan Reviewed By: asrinivasan Differential Revision: https://phorge.dev.yugabyte.com/D36766
- Loading branch information