Commit f45a179
authored
test: move context to after db creation (#21224)
Closes coder/internal#1040
We move the context to just before it is used to avoid the scenario
where NewDB takes a while to spin up and runs up the context to the
deadline.1 parent c44a2c3 commit f45a179
1 file changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6082 | 6082 | | |
6083 | 6083 | | |
6084 | 6084 | | |
6085 | | - | |
6086 | | - | |
6087 | 6085 | | |
6088 | 6086 | | |
6089 | 6087 | | |
| |||
6098 | 6096 | | |
6099 | 6097 | | |
6100 | 6098 | | |
| 6099 | + | |
| 6100 | + | |
6101 | 6101 | | |
6102 | 6102 | | |
6103 | 6103 | | |
| |||
0 commit comments