Skip to content

Commit 60029e6

Browse files
committed
increase monitoring test sleep and fix postgresVersion
1 parent 62970c9 commit 60029e6

3 files changed

Lines changed: 6 additions & 4 deletions

File tree

deploy/cr.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,7 @@ spec:
185185

186186
image: docker.io/percona/percona-distribution-postgresql:18.3-1
187187
imagePullPolicy: Always
188-
postgresVersion: 17
188+
postgresVersion: 18
189189
# port: 5432
190190

191191
# expose:

e2e-tests/functions

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@
33
# set root repo relatively to a test dir
44
ROOT_REPO=${ROOT_REPO:-$(realpath ../../..)}
55
CERT_MANAGER_VER="1.20.0"
6+
CHAOS_MESH_VER="2.5.1"
7+
BUSYBOX_VER="1.36"
68
test_name=$(basename "$(pwd)")
79
source "${ROOT_REPO}/e2e-tests/vars.sh"
810

@@ -794,7 +796,7 @@ deploy_chaos_mesh() {
794796
destroy_chaos_mesh
795797

796798
helm repo add chaos-mesh https://charts.chaos-mesh.org
797-
helm install chaos-mesh chaos-mesh/chaos-mesh --namespace=${NAMESPACE} --set chaosDaemon.runtime=containerd --set chaosDaemon.socketPath=/run/containerd/containerd.sock --set dashboard.create=false --version 2.5.1
799+
helm install chaos-mesh chaos-mesh/chaos-mesh --namespace=${NAMESPACE} --set chaosDaemon.runtime=containerd --set chaosDaemon.socketPath=/run/containerd/containerd.sock --set dashboard.create=false --version ${CHAOS_MESH_VER}
798800
if [[ $OPENSHIFT ]]; then
799801
oc adm policy add-scc-to-user privileged -z chaos-daemon --namespace=${NAMESPACE}
800802
fi
@@ -1536,7 +1538,7 @@ spec:
15361538
- operator: Exists
15371539
containers:
15381540
- name: enable
1539-
image: busybox:1.36
1541+
image: busybox:${BUSYBOX_VER}
15401542
securityContext:
15411543
privileged: true
15421544
env:

e2e-tests/tests/monitoring/07-enable-pgstatmonitor-query-source.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ commands:
1414
}'
1515
1616
# Wait for the pg_stat_monitor extension to be created and PMM to switch query source.
17-
sleep 80
17+
sleep 90
1818
1919
primary=$(get_pod_by_role monitoring primary name)
2020
kubectl -n ${NAMESPACE} exec ${primary} -- bash -c 'psql -c "SELECT * FROM pg_extension;"'

0 commit comments

Comments
 (0)