From 62749e701b73166c7fc0ab6eeb1b83e3181fc73f Mon Sep 17 00:00:00 2001 From: drivebyer Date: Wed, 13 Nov 2024 16:01:18 +0800 Subject: [PATCH] fix --- .../replication-password/chainsaw-test.yaml | 6 ++++++ .../v1beta2/ha-setup/unsecured/chainsaw-test.yaml | 6 ++++++ .../v1beta2/hostnetwork/redis-cluster/chainsaw-test.yaml | 2 ++ .../v1beta2/redis-cluster-restart/ready-cluster.yaml | 2 ++ 4 files changed, 16 insertions(+) diff --git a/tests/e2e-chainsaw/v1beta2/ha-setup/secured/partially-secured/replication-password/chainsaw-test.yaml b/tests/e2e-chainsaw/v1beta2/ha-setup/secured/partially-secured/replication-password/chainsaw-test.yaml index ff68b28e7..faa07b644 100644 --- a/tests/e2e-chainsaw/v1beta2/ha-setup/secured/partially-secured/replication-password/chainsaw-test.yaml +++ b/tests/e2e-chainsaw/v1beta2/ha-setup/secured/partially-secured/replication-password/chainsaw-test.yaml @@ -31,6 +31,12 @@ spec: file: cli-pod.yaml - assert: file: cli-pod.yaml + + - name: Sleep for five minutes + try: + - sleep: + duration: 5m + - name: Ping Replicated Service from Cli Pod try: - script: diff --git a/tests/e2e-chainsaw/v1beta2/ha-setup/unsecured/chainsaw-test.yaml b/tests/e2e-chainsaw/v1beta2/ha-setup/unsecured/chainsaw-test.yaml index eed7f0472..8dd70568a 100644 --- a/tests/e2e-chainsaw/v1beta2/ha-setup/unsecured/chainsaw-test.yaml +++ b/tests/e2e-chainsaw/v1beta2/ha-setup/unsecured/chainsaw-test.yaml @@ -25,6 +25,12 @@ spec: file: cli-pod.yaml - assert: file: cli-pod.yaml + + - name: Sleep for five minutes + try: + - sleep: + duration: 5m + - name: Ping Replicated Service from Cli Pod try: - script: diff --git a/tests/e2e-chainsaw/v1beta2/hostnetwork/redis-cluster/chainsaw-test.yaml b/tests/e2e-chainsaw/v1beta2/hostnetwork/redis-cluster/chainsaw-test.yaml index 571b38932..b2c9a1708 100644 --- a/tests/e2e-chainsaw/v1beta2/hostnetwork/redis-cluster/chainsaw-test.yaml +++ b/tests/e2e-chainsaw/v1beta2/hostnetwork/redis-cluster/chainsaw-test.yaml @@ -20,12 +20,14 @@ spec: file: ready-pvc.yaml - assert: file: ready-pod.yaml + - name: Install Redis Cli try: - script: timeout: 5m content: | sudo apt install redis-tools -y + - name: Ping Redis Cluster from every node try: - script: diff --git a/tests/e2e-chainsaw/v1beta2/redis-cluster-restart/ready-cluster.yaml b/tests/e2e-chainsaw/v1beta2/redis-cluster-restart/ready-cluster.yaml index 43462e53d..a0708b5a5 100644 --- a/tests/e2e-chainsaw/v1beta2/redis-cluster-restart/ready-cluster.yaml +++ b/tests/e2e-chainsaw/v1beta2/redis-cluster-restart/ready-cluster.yaml @@ -4,5 +4,7 @@ kind: RedisCluster metadata: name: redis-cluster-v1beta2 status: + readyFollowerReplicas: 3 + readyLeaderReplicas: 3 state: Ready reason: RedisCluster is ready