MCPcopy Create free account
hub / github.com/PostHog/duckgres / TestResolveEffectiveConfigACMEEnvOnly

Function TestResolveEffectiveConfigACMEEnvOnly

main_test.go:863–876  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

861
862 if resolved.Server.FilePersistence {
863 t.Fatal("expected FilePersistence to be disabled when DataDir is empty")
864 }
865
866 found := false
867 for _, w := range warns {
868 if strings.Contains(w, "file_persistence is enabled but data_dir is empty") {
869 found = true
870 break
871 }
872 }
873 if !found {
874 t.Fatalf("expected warning about empty data_dir, warnings: %v", warns)
875 }
876}

Callers

nothing calls this directly

Calls 2

ResolveEffectiveFunction · 0.92
envFromMapFunction · 0.85

Tested by

no test coverage detected