-
Notifications
You must be signed in to change notification settings - Fork 3.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
112106: server: add tests for combined stmts api source tables r=maryliag a=xinhaoz This patch creates the sqlstatstestutils pkg in sqlstats/persistedsqlstats. It moves the function `GetRandomizedCollectedStatementStatisticsForTest` which was previously in sqlstatsutil. This pkg is introduced in preparation for adding more testing utilities to mock sql stats tables without creating cyclic dependencies with sqlstatsutil. Epic: none Release note: None ### 2: [server: add tests for combined stmts api](1bf95c1) Add testing to verify that the combined stmts api uses the correct source tables given different table states. Epic: none 112990: kvserver: setup ranges in large unsplittable replicate test r=andrewbaptist a=kvoli `TestLargeUnsplittableRangeReplicate` would fail when the SQL query to show the table's replicas returned no results for the unsplittable range being tested. No results would be returned when the table split was delayed. Update the test to insert a split at the first row, as well as the existing split at the second row. This avoids the first range starting with 5 replicas and the test's reliance on timely span config splits. The previous deflake attempt is reverted. Resolves: #112774 Release note: None 113500: roachtest: skip restore/tpce/32TB/inc-count=400/gce/nodes=15/cpus=16 r=msbutler a=msbutler This weekly test is very costly (leads to cross region egress) and is already run on aws. We can reconsider unskipping it after #111371 is addressed. Epic: none Release note: none Co-authored-by: Xin Hao Zhang <[email protected]> Co-authored-by: Austen McClernon <[email protected]> Co-authored-by: Michael Butler <[email protected]>
- Loading branch information
Showing
13 changed files
with
591 additions
and
74 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
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
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
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
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
Oops, something went wrong.