Commit 5efe495
committed
rangefeed: make TestUnrecoverableErrors work with multi-tenancy
This test wants to see errors because of strict GC enforcement policies.
To do so, it creates a scratch range and tries to trigger an error
there. Strict GC enforcement policies don't apply to the scratch range
out of the box, so to sidestep this, the test would explicitly configure
the scratch range's span config. This explicit configuration only worked
for the system tenant previously; this patch extends it to secondary
tenants.
Closes #109472
Release note: None1 parent cdd0b29 commit 5efe495
File tree
2 files changed
+5
-4
lines changed- pkg
- kv/kvclient/rangefeed
- spanconfig/spanconfigsqltranslator
2 files changed
+5
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
952 | 952 | | |
953 | 953 | | |
954 | 954 | | |
955 | | - | |
956 | 955 | | |
957 | 956 | | |
958 | 957 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
661 | 661 | | |
662 | 662 | | |
663 | 663 | | |
664 | | - | |
| 664 | + | |
665 | 665 | | |
666 | 666 | | |
667 | 667 | | |
| |||
677 | 677 | | |
678 | 678 | | |
679 | 679 | | |
| 680 | + | |
| 681 | + | |
680 | 682 | | |
681 | 683 | | |
682 | | - | |
683 | | - | |
| 684 | + | |
| 685 | + | |
684 | 686 | | |
685 | 687 | | |
686 | 688 | | |
| |||
0 commit comments