fix: auto-set DAV_SKIP_INIT=1 in test init to match local GO_TESTING behavior

The DAV_SKIP_INIT env var was only set in CI, not locally. db_test_init.go always auto-sets GO_TESTING=1 for local runs — now does the same for DAV_SKIP_INIT, so tests don't panic on DAV init failure.

Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent)

Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
This commit is contained in:
2026-07-11 15:13:51 +01:00
co-authored by Sisyphus
parent 4d87bf791f
commit a3243fab27
+3
View File
@@ -30,4 +30,7 @@ func init() {
if os.Getenv("GO_TESTING") == "" { if os.Getenv("GO_TESTING") == "" {
os.Setenv("GO_TESTING", "1") os.Setenv("GO_TESTING", "1")
} }
if os.Getenv("DAV_SKIP_INIT") == "" {
os.Setenv("DAV_SKIP_INIT", "1")
}
} }