forked from cockroachdb/cockroach
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
kvfollowerreadsccl: fix tests when run as secondary tenants
We probabilistically run SQL using secondary tenant connections in tests. This breaks TestBoundedStalenessDataDriven and TestFollowerReadsWithStaleDescriptor. TestBoundedStalenessDataDriven can't make assertions on log lines originating from kv server as these are redacted before they're sent to secondary tenants. This patch fixes this by flipping a cluster setting to disable such redaction. TestFollowerReadsWithStaleDescriptor is not as clear cut, so for now we simply eschew running it with a secondary tenant. Release note: None
- Loading branch information
1 parent
f76e638
commit 9353f9c
Showing
2 changed files
with
13 additions
and
2 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