From 6829058793f15fd409287b7f67a8c399e7812ace Mon Sep 17 00:00:00 2001 From: drivebyer Date: Fri, 14 Jun 2024 23:41:59 +0800 Subject: [PATCH] add debug Signed-off-by: drivebyer --- tests/_config/chainsaw-configuration.yaml | 4 ++-- .../v1beta2/hostnetwork/redis-cluster/chainsaw-test.yaml | 8 ++++++++ .../v1beta2/nodeport/redis-cluster/chainsaw-test.yaml | 7 +++++++ 3 files changed, 17 insertions(+), 2 deletions(-) diff --git a/tests/_config/chainsaw-configuration.yaml b/tests/_config/chainsaw-configuration.yaml index 3cdac9ba8..f5ec54bd2 100644 --- a/tests/_config/chainsaw-configuration.yaml +++ b/tests/_config/chainsaw-configuration.yaml @@ -9,5 +9,5 @@ spec: timeouts: apply: 5m delete: 5m - assert: 20m - error: 20m + assert: 15m + error: 15m 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 b67582d7d..fee752b6b 100644 --- a/tests/e2e-chainsaw/v1beta2/hostnetwork/redis-cluster/chainsaw-test.yaml +++ b/tests/e2e-chainsaw/v1beta2/hostnetwork/redis-cluster/chainsaw-test.yaml @@ -20,6 +20,14 @@ spec: file: ready-pvc.yaml - assert: file: ready-pod.yaml + catch: + - description: Redis Operator Logs + podLogs: + namespace: redis-operator-system + selector: control-plane=redis-operator + container: manager + tail: -1 # tail all logs + - name: Install Redis Cli try: - script: diff --git a/tests/e2e-chainsaw/v1beta2/nodeport/redis-cluster/chainsaw-test.yaml b/tests/e2e-chainsaw/v1beta2/nodeport/redis-cluster/chainsaw-test.yaml index 84755055c..eaf56da1a 100644 --- a/tests/e2e-chainsaw/v1beta2/nodeport/redis-cluster/chainsaw-test.yaml +++ b/tests/e2e-chainsaw/v1beta2/nodeport/redis-cluster/chainsaw-test.yaml @@ -18,6 +18,13 @@ spec: file: ready-svc.yaml - assert: file: ready-pvc.yaml + catch: + - description: Redis Operator Logs + podLogs: + namespace: redis-operator-system + selector: control-plane=redis-operator + container: manager + tail: -1 # tail all logs - name: Ping Cluster try: