- Notifications
You must be signed in to change notification settings - Fork1k
Commit791d39c
authored
test(coderd/database): use seperate context for subtests to fix flake (#19330)
Fixes flakes likehttps://github.com/coder/coder/actions/runs/16927282256/job/47965470039https://coder.com/blog/go-testing-contexts-and-t-parallel...I'm going to take a stab at turning this into a lint rule. I thinkit's possible by just reading the AST?1 parent117fa05 commit791d39c
1 file changed
+3
-2
lines changedOriginal file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
6009 | 6009 |
| |
6010 | 6010 |
| |
6011 | 6011 |
| |
6012 |
| - | |
6013 | 6012 |
| |
6014 | 6013 |
| |
6015 | 6014 |
| |
| 6015 | + | |
6016 | 6016 |
| |
6017 | 6017 |
| |
6018 | 6018 |
| |
| |||
6085 | 6085 |
| |
6086 | 6086 |
| |
6087 | 6087 |
| |
| 6088 | + | |
6088 | 6089 |
| |
6089 | 6090 |
| |
6090 | 6091 |
| |
| |||
6156 | 6157 |
| |
6157 | 6158 |
| |
6158 | 6159 |
| |
6159 |
| - | |
6160 | 6160 |
| |
6161 | 6161 |
| |
6162 | 6162 |
| |
| |||
6234 | 6234 |
| |
6235 | 6235 |
| |
6236 | 6236 |
| |
| 6237 | + | |
6237 | 6238 |
| |
6238 | 6239 |
| |
6239 | 6240 |
| |
|
0 commit comments
Comments
(0)