-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[#21430] DocDB: Update wait-queue unit tests to exercise smaller batc…
…h size Summary: Running a couple of existing unit test would have uncovered issues like #18394 and #21736. Hence, enhancing the wait-queue test suite to trigger a few of the existing tests with smaller batch size. Most of the `PgWaitQueuesTest` tests execute point updates/lookups that end up in the wait-queue. Re-running these tests with a smaller batch size doesn't give us any useful signal. To minimize test times, the diff exercises the smaller batch size codepath only for select `PgWaitQueuesTest` test with bulk updates/lookups. This approach also helps preserve test stability history. For existing `PgWaitQueueRF1Test` tests, 2/3 execute bulk updates. Hence going with `INSTANTIATE_TEST_SUITE_P` approach for these tests, making all `PgWaitQueueRF1Test` tests execute under both small and normal batch sizes. Jira: DB-10311 Test Plan: Jenkins ./yb_build.sh --cxx-test pgwrapper_pg_wait_on_conflict-test Reviewers: rsami, rthallam Reviewed By: rsami Subscribers: ybase, yql Differential Revision: https://phorge.dev.yugabyte.com/D34454
- Loading branch information
1 parent
d89a7e2
commit eccd4a8
Showing
1 changed file
with
60 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters