MCPcopy Create free account
hub / github.com/CrunchyData/postgres-operator / TestConfigDirectory

Function TestConfigDirectory

internal/postgres/config_test.go:31–36  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

29)
30
31func TestConfigDirectory(t *testing.T) {
32 cluster := new(v1beta1.PostgresCluster)
33 cluster.Spec.PostgresVersion = 11
34
35 assert.Equal(t, ConfigDirectory(cluster), "/pgdata/pg11")
36}
37
38func TestDataDirectory(t *testing.T) {
39 cluster := new(v1beta1.PostgresCluster)

Callers

nothing calls this directly

Calls 2

ConfigDirectoryFunction · 0.85
EqualMethod · 0.45

Tested by

no test coverage detected