mirror of
https://github.com/coder/coder.git
synced 2026-09-24 15:04:27 +08:00
test: add test database cleaner in subprocess (#19844)
fixes https://github.com/coder/internal/issues/927 Adds a small subprocess that outlives the testing process to clean up any leaked test databases.
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
package main
|
||||
|
||||
import "github.com/coder/coder/v2/coderd/database/dbtestutil"
|
||||
|
||||
func main() {
|
||||
dbtestutil.RunCleaner()
|
||||
}
|
||||
Reference in New Issue
Block a user