Commit 613f230
committed
sql: use JobRegistry of ApplicationLayer in tests
One of the common modifications we need to make for tests to work with
secondary tenants is using the JobRegistry of the ApplicationLayer (as
opposed to the one belonging to the system tenant). This commit audits
all tests in `pkg/sql` directory to ensure the right registry is used.
Note that tests still might need further modifications.
Release note: None1 parent 04f4935 commit 613f230
File tree
7 files changed
+31
-25
lines changed- pkg/sql
- catalog
- externalcatalog
- schematelemetry
- gcjob_test
- inspect
- rowexec
- sqlstats/persistedsqlstats
7 files changed
+31
-25
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
117 | 117 | | |
118 | 118 | | |
119 | 119 | | |
120 | | - | |
| 120 | + | |
121 | 121 | | |
122 | 122 | | |
123 | 123 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
97 | 97 | | |
98 | 98 | | |
99 | 99 | | |
100 | | - | |
101 | | - | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
102 | 103 | | |
103 | 104 | | |
104 | 105 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
91 | 91 | | |
92 | 92 | | |
93 | 93 | | |
94 | | - | |
| 94 | + | |
95 | 95 | | |
96 | | - | |
| 96 | + | |
| 97 | + | |
97 | 98 | | |
98 | 99 | | |
99 | 100 | | |
| |||
648 | 649 | | |
649 | 650 | | |
650 | 651 | | |
651 | | - | |
| 652 | + | |
652 | 653 | | |
653 | 654 | | |
654 | | - | |
| 655 | + | |
| 656 | + | |
655 | 657 | | |
656 | 658 | | |
657 | 659 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
40 | | - | |
| 40 | + | |
41 | 41 | | |
42 | 42 | | |
43 | 43 | | |
| |||
445 | 445 | | |
446 | 446 | | |
447 | 447 | | |
448 | | - | |
| 448 | + | |
449 | 449 | | |
450 | 450 | | |
451 | 451 | | |
| |||
573 | 573 | | |
574 | 574 | | |
575 | 575 | | |
576 | | - | |
| 576 | + | |
577 | 577 | | |
578 | 578 | | |
579 | 579 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
66 | 66 | | |
67 | 67 | | |
68 | 68 | | |
69 | | - | |
| 69 | + | |
70 | 70 | | |
71 | 71 | | |
72 | 72 | | |
| |||
76 | 76 | | |
77 | 77 | | |
78 | 78 | | |
79 | | - | |
| 79 | + | |
| 80 | + | |
80 | 81 | | |
81 | 82 | | |
82 | 83 | | |
| |||
97 | 98 | | |
98 | 99 | | |
99 | 100 | | |
100 | | - | |
| 101 | + | |
101 | 102 | | |
102 | 103 | | |
103 | 104 | | |
| |||
175 | 176 | | |
176 | 177 | | |
177 | 178 | | |
178 | | - | |
| 179 | + | |
179 | 180 | | |
180 | 181 | | |
181 | 182 | | |
| |||
215 | 216 | | |
216 | 217 | | |
217 | 218 | | |
218 | | - | |
| 219 | + | |
219 | 220 | | |
220 | 221 | | |
221 | 222 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
90 | 90 | | |
91 | 91 | | |
92 | 92 | | |
93 | | - | |
94 | | - | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
95 | 96 | | |
96 | 97 | | |
97 | 98 | | |
| |||
6499 | 6500 | | |
6500 | 6501 | | |
6501 | 6502 | | |
6502 | | - | |
| 6503 | + | |
6503 | 6504 | | |
6504 | 6505 | | |
6505 | 6506 | | |
| |||
6584 | 6585 | | |
6585 | 6586 | | |
6586 | 6587 | | |
6587 | | - | |
| 6588 | + | |
6588 | 6589 | | |
6589 | 6590 | | |
6590 | 6591 | | |
| |||
6658 | 6659 | | |
6659 | 6660 | | |
6660 | 6661 | | |
6661 | | - | |
| 6662 | + | |
6662 | 6663 | | |
6663 | 6664 | | |
6664 | 6665 | | |
| |||
6790 | 6791 | | |
6791 | 6792 | | |
6792 | 6793 | | |
6793 | | - | |
| 6794 | + | |
6794 | 6795 | | |
6795 | 6796 | | |
6796 | 6797 | | |
| |||
6804 | 6805 | | |
6805 | 6806 | | |
6806 | 6807 | | |
6807 | | - | |
| 6808 | + | |
| 6809 | + | |
6808 | 6810 | | |
6809 | 6811 | | |
6810 | 6812 | | |
| |||
Lines changed: 3 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
39 | | - | |
| 39 | + | |
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
| |||
90 | 90 | | |
91 | 91 | | |
92 | 92 | | |
93 | | - | |
| 93 | + | |
94 | 94 | | |
95 | 95 | | |
96 | 96 | | |
| |||
137 | 137 | | |
138 | 138 | | |
139 | 139 | | |
140 | | - | |
| 140 | + | |
141 | 141 | | |
142 | 142 | | |
143 | 143 | | |
| |||
0 commit comments