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

Function TestWALVolumeMount

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

Source from the content-addressed store, hash-verified

31}
32
33func TestWALVolumeMount(t *testing.T) {
34 mount := WALVolumeMount()
35
36 assert.DeepEqual(t, mount, corev1.VolumeMount{
37 Name: "postgres-wal",
38 MountPath: "/pgwal",
39 ReadOnly: false,
40 })
41}
42
43func TestDownwardAPIVolumeMount(t *testing.T) {
44 mount := DownwardAPIVolumeMount()

Callers

nothing calls this directly

Calls 1

WALVolumeMountFunction · 0.85

Tested by

no test coverage detected