MCPcopy Create free account
hub / github.com/couchbase/sync_gateway / TestDefaultStartupConfig

Function TestDefaultStartupConfig

rest/main_test.go:101–106  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

99}
100
101func TestDefaultStartupConfig(t *testing.T) {
102 ctx := base.TestCtx(t)
103 sc, _, _, err := parseFlags(ctx, []string{"sync_gateway"})
104 require.NoError(t, err)
105 require.Nil(t, sc.HeapProfileCollectionThreshold)
106}
107
108func TestSanitizeDbConfigs(t *testing.T) {
109 serverAddressErrorString := "automatic upgrade to persistent config requires each database config to have a server address specified that are all matching in the 2.x config"

Callers

nothing calls this directly

Calls 2

TestCtxFunction · 0.92
parseFlagsFunction · 0.85

Tested by

no test coverage detected