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

Function TestDataVolumeMount

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

Source from the content-addressed store, hash-verified

21)
22
23func TestDataVolumeMount(t *testing.T) {
24 mount := DataVolumeMount()
25
26 assert.DeepEqual(t, mount, corev1.VolumeMount{
27 Name: "postgres-data",
28 MountPath: "/pgdata",
29 ReadOnly: false,
30 })
31}
32
33func TestWALVolumeMount(t *testing.T) {
34 mount := WALVolumeMount()

Callers

nothing calls this directly

Calls 1

DataVolumeMountFunction · 0.85

Tested by

no test coverage detected