File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed
Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -124,8 +124,9 @@ func TestInstancePod(t *testing.T) {
124124
125125 assert .Assert (t , cmp .MarshalMatches (pod , `
126126containers:
127- - command:
128- - echo "for pid in $(pgrep -f \"/usr/pgsql-16/bin/postgres\"); do
127+ - command:
128+ - |-
129+ echo "for pid in $(pgrep -f \"/usr/pgsql-16/bin/postgres\"); do
129130 current=$(cat /proc/$pid/oom_score_adj 2>/dev/null || echo \"\")
130131 if [ \"$current\" != \"-900\" ]; then
131132 echo \"adjusting oom score for pid $pid\"
@@ -135,7 +136,7 @@ containers:
135136
136137 sleep 30
137138 done" > /oom-fixer.sh && chmod +x /oom-fixer.sh
138- - /oom-fixer.sh & /usr/bin/patroni
139+ - /oom-fixer.sh & /usr/bin/patroni
139140 env:
140141 - name: PGDATA
141142 value: /pgdata/pg11
You can’t perform that action at this time.
0 commit comments