From a782da916a2ff0ba6de2db879888a23376c5ba87 Mon Sep 17 00:00:00 2001 From: Kjeld Schouten Date: Sat, 9 Mar 2024 01:25:53 +0100 Subject: [PATCH] fix one more unittest --- .../tests/cnpg/recovery_configmap_test.yaml | 30 ------------------- 1 file changed, 30 deletions(-) delete mode 100644 library/common-test/tests/cnpg/recovery_configmap_test.yaml diff --git a/library/common-test/tests/cnpg/recovery_configmap_test.yaml b/library/common-test/tests/cnpg/recovery_configmap_test.yaml deleted file mode 100644 index 440745a9..00000000 --- a/library/common-test/tests/cnpg/recovery_configmap_test.yaml +++ /dev/null @@ -1,30 +0,0 @@ -suite: cnpg recovery configmap test -templates: - - common.yaml -release: - name: test-release-name - namespace: test-release-namespace -tests: - - it: should create configmap with recovery string when forceRecovery is enabled - set: - cnpg: - my-pg: - enabled: true - forceRecovery: true - user: test-user - database: test-db - asserts: - - documentIndex: &configMapDoc 2 - isKind: - of: ConfigMap - - documentIndex: *configMapDoc - isAPIVersion: - of: v1 - - documentIndex: *configMapDoc - equal: - path: metadata.name - value: test-release-name-common-test-cnpg-my-pg-recovery-string - - documentIndex: *configMapDoc - matchRegex: - path: data.recovery-string - pattern: ^[a-zA-Z0-9]{5}$