Commit 2bd11df
authored
test: precompile the db cleaner on make test (coder#20000)
We're seeing some timeouts from starting the db cleaner, e.g. coder/internal#1026
My suspicion is that in CI the go build cache might not be warm, and so it can take a while to compile and run the dbcleaner subprocess.
This fix builds the cleaner once prior to starting a test run via `make test` to ensure we have a warm cache.1 parent fdb0267 commit 2bd11df
1 file changed
+10
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1020 | 1020 | | |
1021 | 1021 | | |
1022 | 1022 | | |
1023 | | - | |
| 1023 | + | |
| 1024 | + | |
| 1025 | + | |
| 1026 | + | |
| 1027 | + | |
| 1028 | + | |
| 1029 | + | |
| 1030 | + | |
| 1031 | + | |
1024 | 1032 | | |
1025 | 1033 | | |
1026 | 1034 | | |
1027 | | - | |
| 1035 | + | |
1028 | 1036 | | |
1029 | 1037 | | |
1030 | 1038 | | |
| |||
0 commit comments