- Notifications
You must be signed in to change notification settings - Fork928
Commit5861e51
authored
chore: add standard test logger ignoring db canceled (#15556)
Refactors our use of `slogtest` to instantiate a "standard logger" across most of our tests. This standard logger incorporatescoder/slog#217 to also ignore database query canceled errors by default, which are a source of low-severity flakes.Any test that has set non-default `slogtest.Options` is left alone. In particular, `coderdtest` defaults to ignoring all errors. We might consider revisiting that decision now that we have better tools to target the really common flaky Error logs on shutdown.1 parent4719d24 commit5861e51
File tree
95 files changed
+443
-501
lines changed- agent
- agentscripts
- agentssh
- agenttest
- cli
- coderd
- agentapi
- cryptokeys
- database
- awsiamrds
- dbmetrics
- dbpurge
- dbrollup
- dbtestutil
- pubsub
- devtunnel
- httpmw
- jwtutils
- metricscache
- notifications
- prometheusmetrics
- provisionerdserver
- telemetry
- unhanger
- workspaceapps/apptest
- workspacestats
- codersdk/agentsdk
- enterprise
- coderd
- coderdenttest
- enidpsync
- proxyhealth
- derpmesh
- provisionerd
- replicasync
- tailnet
- provisioner/terraform
- tfparse
- provisionerd
- provisionersdk
- support
- tailnet
- tailnettest
- test/integration
- testutil
- vpn
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
95 files changed
+443
-501
lines changedLines changed: 4 additions & 4 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1508 | 1508 |
| |
1509 | 1509 |
| |
1510 | 1510 |
| |
1511 |
| - | |
| 1511 | + | |
1512 | 1512 |
| |
1513 | 1513 |
| |
1514 | 1514 |
| |
| |||
1863 | 1863 |
| |
1864 | 1864 |
| |
1865 | 1865 |
| |
1866 |
| - | |
| 1866 | + | |
1867 | 1867 |
| |
1868 | 1868 |
| |
1869 | 1869 |
| |
| |||
2019 | 2019 |
| |
2020 | 2020 |
| |
2021 | 2021 |
| |
2022 |
| - | |
| 2022 | + | |
2023 | 2023 |
| |
2024 | 2024 |
| |
2025 | 2025 |
| |
| |||
2060 | 2060 |
| |
2061 | 2061 |
| |
2062 | 2062 |
| |
2063 |
| - | |
| 2063 | + | |
2064 | 2064 |
| |
2065 | 2065 |
| |
2066 | 2066 |
| |
|
Lines changed: 5 additions & 6 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
14 | 14 |
| |
15 | 15 |
| |
16 | 16 |
| |
17 |
| - | |
18 | 17 |
| |
19 | 18 |
| |
20 | 19 |
| |
| |||
35 | 34 |
| |
36 | 35 |
| |
37 | 36 |
| |
38 |
| - | |
| 37 | + | |
39 | 38 |
| |
40 | 39 |
| |
41 | 40 |
| |
| |||
61 | 60 |
| |
62 | 61 |
| |
63 | 62 |
| |
64 |
| - | |
| 63 | + | |
65 | 64 |
| |
66 | 65 |
| |
67 | 66 |
| |
| |||
102 | 101 |
| |
103 | 102 |
| |
104 | 103 |
| |
105 |
| - | |
| 104 | + | |
106 | 105 |
| |
107 | 106 |
| |
108 | 107 |
| |
| |||
121 | 120 |
| |
122 | 121 |
| |
123 | 122 |
| |
124 |
| - | |
| 123 | + | |
125 | 124 |
| |
126 | 125 |
| |
127 | 126 |
| |
| |||
160 | 159 |
| |
161 | 160 |
| |
162 | 161 |
| |
163 |
| - | |
| 162 | + | |
164 | 163 |
| |
165 | 164 |
| |
166 | 165 |
| |
|
Lines changed: 1 addition & 3 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
17 | 17 |
| |
18 | 18 |
| |
19 | 19 |
| |
20 |
| - | |
21 |
| - | |
22 | 20 |
| |
23 | 21 |
| |
24 | 22 |
| |
| |||
36 | 34 |
| |
37 | 35 |
| |
38 | 36 |
| |
39 |
| - | |
| 37 | + | |
40 | 38 |
| |
41 | 39 |
| |
42 | 40 |
| |
|
Lines changed: 4 additions & 4 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
35 | 35 |
| |
36 | 36 |
| |
37 | 37 |
| |
38 |
| - | |
| 38 | + | |
39 | 39 |
| |
40 | 40 |
| |
41 | 41 |
| |
| |||
76 | 76 |
| |
77 | 77 |
| |
78 | 78 |
| |
79 |
| - | |
| 79 | + | |
80 | 80 |
| |
81 | 81 |
| |
82 | 82 |
| |
| |||
158 | 158 |
| |
159 | 159 |
| |
160 | 160 |
| |
161 |
| - | |
| 161 | + | |
162 | 162 |
| |
163 | 163 |
| |
164 | 164 |
| |
| |||
223 | 223 |
| |
224 | 224 |
| |
225 | 225 |
| |
226 |
| - | |
| 226 | + | |
227 | 227 |
| |
228 | 228 |
| |
229 | 229 |
| |
|
Lines changed: 1 addition & 3 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
21 | 21 |
| |
22 | 22 |
| |
23 | 23 |
| |
24 |
| - | |
25 |
| - | |
26 | 24 |
| |
27 | 25 |
| |
28 | 26 |
| |
| |||
34 | 32 |
| |
35 | 33 |
| |
36 | 34 |
| |
37 |
| - | |
| 35 | + | |
38 | 36 |
| |
39 | 37 |
| |
40 | 38 |
| |
|
Lines changed: 2 additions & 3 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
7 | 7 |
| |
8 | 8 |
| |
9 | 9 |
| |
10 |
| - | |
11 |
| - | |
12 | 10 |
| |
13 | 11 |
| |
| 12 | + | |
14 | 13 |
| |
15 | 14 |
| |
16 | 15 |
| |
| |||
24 | 23 |
| |
25 | 24 |
| |
26 | 25 |
| |
27 |
| - | |
| 26 | + | |
28 | 27 |
| |
29 | 28 |
| |
30 | 29 |
| |
|
Lines changed: 2 additions & 4 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
12 | 12 |
| |
13 | 13 |
| |
14 | 14 |
| |
15 |
| - | |
16 |
| - | |
17 | 15 |
| |
18 | 16 |
| |
19 | 17 |
| |
| |||
258 | 256 |
| |
259 | 257 |
| |
260 | 258 |
| |
261 |
| - | |
| 259 | + | |
262 | 260 |
| |
263 | 261 |
| |
264 |
| - | |
| 262 | + | |
265 | 263 |
| |
266 | 264 |
| |
267 | 265 |
| |
|
Lines changed: 2 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
12 | 12 |
| |
13 | 13 |
| |
14 | 14 |
| |
15 |
| - | |
| 15 | + | |
16 | 16 |
| |
17 | 17 |
| |
18 | 18 |
| |
| |||
35 | 35 |
| |
36 | 36 |
| |
37 | 37 |
| |
38 |
| - | |
| 38 | + | |
39 | 39 |
| |
40 | 40 |
| |
41 | 41 |
| |
|
Lines changed: 1 addition & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
18 | 18 |
| |
19 | 19 |
| |
20 | 20 |
| |
21 |
| - | |
22 | 21 |
| |
23 | 22 |
| |
24 | 23 |
| |
25 | 24 |
| |
26 | 25 |
| |
27 | 26 |
| |
28 | 27 |
| |
29 |
| - | |
| 28 | + | |
30 | 29 |
| |
31 | 30 |
| |
32 | 31 |
| |
|
Lines changed: 2 additions & 4 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
13 | 13 |
| |
14 | 14 |
| |
15 | 15 |
| |
16 |
| - | |
17 |
| - | |
18 | 16 |
| |
19 | 17 |
| |
20 | 18 |
| |
| |||
24 | 22 |
| |
25 | 23 |
| |
26 | 24 |
| |
27 |
| - | |
| 25 | + | |
28 | 26 |
| |
29 | 27 |
| |
30 | 28 |
| |
| |||
251 | 249 |
| |
252 | 250 |
| |
253 | 251 |
| |
254 |
| - | |
| 252 | + | |
255 | 253 |
| |
256 | 254 |
| |
257 | 255 |
| |
|
Lines changed: 1 addition & 3 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
38 | 38 |
| |
39 | 39 |
| |
40 | 40 |
| |
41 |
| - | |
42 |
| - | |
43 | 41 |
| |
44 | 42 |
| |
45 | 43 |
| |
| |||
1833 | 1831 |
| |
1834 | 1832 |
| |
1835 | 1833 |
| |
1836 |
| - | |
| 1834 | + | |
1837 | 1835 |
| |
1838 | 1836 |
| |
1839 | 1837 |
| |
|
Lines changed: 2 additions & 4 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
9 | 9 |
| |
10 | 10 |
| |
11 | 11 |
| |
12 |
| - | |
13 |
| - | |
14 | 12 |
| |
15 | 13 |
| |
16 | 14 |
| |
| |||
52 | 50 |
| |
53 | 51 |
| |
54 | 52 |
| |
55 |
| - | |
| 53 | + | |
56 | 54 |
| |
57 | 55 |
| |
58 | 56 |
| |
| |||
90 | 88 |
| |
91 | 89 |
| |
92 | 90 |
| |
93 |
| - | |
| 91 | + | |
94 | 92 |
| |
95 | 93 |
| |
96 | 94 |
| |
|
Lines changed: 3 additions & 3 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
70 | 70 |
| |
71 | 71 |
| |
72 | 72 |
| |
73 |
| - | |
| 73 | + | |
74 | 74 |
| |
75 | 75 |
| |
76 | 76 |
| |
| |||
90 | 90 |
| |
91 | 91 |
| |
92 | 92 |
| |
93 |
| - | |
| 93 | + | |
94 | 94 |
| |
95 | 95 |
| |
96 | 96 |
| |
| |||
106 | 106 |
| |
107 | 107 |
| |
108 | 108 |
| |
109 |
| - | |
| 109 | + | |
110 | 110 |
| |
111 | 111 |
| |
112 | 112 |
| |
|
Lines changed: 4 additions & 7 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
30 | 30 |
| |
31 | 31 |
| |
32 | 32 |
| |
33 |
| - | |
34 |
| - | |
35 |
| - | |
36 | 33 |
| |
37 | 34 |
| |
38 | 35 |
| |
| |||
57 | 54 |
| |
58 | 55 |
| |
59 | 56 |
| |
60 |
| - | |
| 57 | + | |
61 | 58 |
| |
62 | 59 |
| |
63 | 60 |
| |
| |||
257 | 254 |
| |
258 | 255 |
| |
259 | 256 |
| |
260 |
| - | |
| 257 | + | |
261 | 258 |
| |
262 | 259 |
| |
263 | 260 |
| |
| |||
760 | 757 |
| |
761 | 758 |
| |
762 | 759 |
| |
763 |
| - | |
| 760 | + | |
764 | 761 |
| |
765 | 762 |
| |
766 | 763 |
| |
| |||
1367 | 1364 |
| |
1368 | 1365 |
| |
1369 | 1366 |
| |
1370 |
| - | |
| 1367 | + | |
1371 | 1368 |
| |
1372 | 1369 |
| |
1373 | 1370 |
| |
|
0 commit comments
Comments
(0)