Commit 1befb1f
Merge #157188
157188: backup: run tests with DRPC randomly enabled r=suj-krishnan a=suj-krishnan
This change introduces a package-level setting that randomly enables DRPC in pkg/backup.
Epic: [CRDB-48935](https://cockroachlabs.atlassian.net/browse/CRDB-48935)
Informs: #155569
Release note: None
**Notes:**
- Manual verification: Since the setting turns on/off randomly during test runs, the following command was used to manually verify that all combinations of the newly added setting and the existing tenant setting (that is also enabled randomly) pass.
`./dev test pkg/backup/<subdir> -v -- --test_env=COCKROACH_TEST_TENANT=<true/false/shared/external> --test_env=COCKROACH_TEST_DRPC=<true/false>
`
- The following tests are disabled in this PR because they currently fail with the following error:
`"grpc: could not fetch metadata or no filename in metadata"`
This is a known issue that has been root-caused to differences in how metadata is handled between grpc and drpc and work to fix this issue is in progress as per `@shubhamdhama.` Relevant slack thread - https://cockroachlabs.slack.com/archives/C06V95X6CVA/p1761751554364579
The tests can be enabled after the issue is fixed.
Disabled tests:
TestBackupRestoreResolveDestination
All tests directly under pkg/backup
Co-authored-by: Sujatha Sivaramakrishnan <[email protected]>File tree
6 files changed
+22
-1
lines changed- pkg/backup
- backupdest
- backupinfo
- backuprand
- backupresolver
6 files changed
+22
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
38 | 38 | | |
39 | 39 | | |
40 | 40 | | |
41 | | - | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
42 | 46 | | |
43 | 47 | | |
44 | 48 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
| 12 | + | |
12 | 13 | | |
13 | 14 | | |
14 | 15 | | |
| |||
24 | 25 | | |
25 | 26 | | |
26 | 27 | | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
27 | 31 | | |
28 | 32 | | |
29 | 33 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
| 12 | + | |
12 | 13 | | |
13 | 14 | | |
14 | 15 | | |
| |||
24 | 25 | | |
25 | 26 | | |
26 | 27 | | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
27 | 31 | | |
28 | 32 | | |
29 | 33 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
| 12 | + | |
12 | 13 | | |
13 | 14 | | |
14 | 15 | | |
| |||
25 | 26 | | |
26 | 27 | | |
27 | 28 | | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
28 | 32 | | |
29 | 33 | | |
30 | 34 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
| 34 | + | |
34 | 35 | | |
35 | 36 | | |
36 | 37 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
| 12 | + | |
12 | 13 | | |
13 | 14 | | |
14 | 15 | | |
| |||
23 | 24 | | |
24 | 25 | | |
25 | 26 | | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
26 | 30 | | |
27 | 31 | | |
28 | 32 | | |
| |||
0 commit comments