-
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.
83389: testutils: add `storageutils` test utilities r=nicktrav a=erikgrinaker This patch adds a bunch of test utilities to `storageutils`, replacing the old `sstutil` package. This is done to ease testing of MVCC range keys in tests outside the `storage` package. Unfortunately, these are mostly duplicates of utilities in `storage`. Storage tests use the `storage` package rather than `storage_test`, and can't make use of `storageutils` yet because it causes an import cycle with `storage`. This will (hopefully) be addressed separately. Release note: None 83448: cli: skip TestRemoveDeadReplicas r=erikgrinaker a=tbg Refs: #75133 Reason: flaky test Generated by bin/skip-test. Release justification: non-production code changes Release note: None 83561: backupccl: deflake TestMetadataSST r=stevendanna a=stevendanna This is a temporary fix for failures in TestMetadataSST. First, backup_metadata_test.go:49: error executing 'BACKUP TO $1': pq: a CCL binary is required to use this statement type: *tree.Backup is solved by moving the test back into the backupccl package so that the plan hook for BACKUP is definitely registered. Second, backup_metadata_test.go:89: file /0/BACKUP_MANIFEST does not exist in the UserFileTableSystem: external_storage: file doesn't exist is solved by disabling tenants by default in the setup functions in backuputils. There is duplication between these functions and the functions in backupccl, where we already disable tenants. The error above is likely the result of us directly using the internal executor of the server to query the userfile storage, which may be incorrect if we were actually talking to a tenant. Release note: None Co-authored-by: Erik Grinaker <[email protected]> Co-authored-by: Tobias Grieger <[email protected]> Co-authored-by: Steven Danna <[email protected]>
- Loading branch information
Showing
24 changed files
with
726 additions
and
600 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
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.