Files
coder/coderd/database/dbtestutil/cleanercmd/main.go
T
Spike Curtis e2f5401fb2 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.
2025-09-22 15:27:06 +04:00

8 lines
118 B
Go

package main
import "github.com/coder/coder/v2/coderd/database/dbtestutil"
func main() {
dbtestutil.RunCleaner()
}