From 2371ed108773e7dad2f25fd690841061dd4dce3c Mon Sep 17 00:00:00 2001 From: "lukasz.widera@vshn.ch" Date: Tue, 12 Mar 2024 13:00:13 +0100 Subject: [PATCH] keycloak tests --- tests/e2e/keycloak/00-assert.yaml | 3 ++- tests/e2e/keycloak/01-connect.yaml | 2 +- tests/e2e/kuttl-test.yaml | 3 +-- tests/e2e/mariadb/00-assert.yaml | 1 - tests/e2e/postgresql/00-install.yaml | 1 - tests/e2e/redis/00-assert.yaml | 2 +- 6 files changed, 5 insertions(+), 7 deletions(-) diff --git a/tests/e2e/keycloak/00-assert.yaml b/tests/e2e/keycloak/00-assert.yaml index c255f8fb3..ca848118a 100644 --- a/tests/e2e/keycloak/00-assert.yaml +++ b/tests/e2e/keycloak/00-assert.yaml @@ -24,7 +24,8 @@ spec: instances: 1 relativePath: / serviceLevel: besteffort - version: 23.0.5-202402021353-44-af6cea11 + version: "23" + #version: 23.0.5-202402021353-44-af6cea11 size: plan: standard-2 tls: diff --git a/tests/e2e/keycloak/01-connect.yaml b/tests/e2e/keycloak/01-connect.yaml index 4906302dc..69e05f41d 100644 --- a/tests/e2e/keycloak/01-connect.yaml +++ b/tests/e2e/keycloak/01-connect.yaml @@ -18,7 +18,7 @@ spec: - bash args: - -c - - echo "Testing health...\n" && curl -ivv http://$KEYCLOAK_HOST/health + - echo "Testing health...\n" && sleep 30 && curl -ivv http://$KEYCLOAK_HOST/health envFrom: - secretRef: name: keycloak-e2e diff --git a/tests/e2e/kuttl-test.yaml b/tests/e2e/kuttl-test.yaml index 25505d04c..92a835ca4 100644 --- a/tests/e2e/kuttl-test.yaml +++ b/tests/e2e/kuttl-test.yaml @@ -2,5 +2,4 @@ apiVersion: kuttl.dev/v1beta1 kind: TestSuite testDirs: - ./test/e2e/ -namespace: appcat-e2e -timeout: 120 +namespace: widera-testing diff --git a/tests/e2e/mariadb/00-assert.yaml b/tests/e2e/mariadb/00-assert.yaml index 6b42f95ec..565185836 100644 --- a/tests/e2e/mariadb/00-assert.yaml +++ b/tests/e2e/mariadb/00-assert.yaml @@ -38,7 +38,6 @@ kind: Secret type: connection.crossplane.io/v1alpha1 metadata: name: mariadb-creds - namespace: appcat-e2e ownerReferences: - apiVersion: vshn.appcat.vshn.io/v1 kind: VSHNMariaDB diff --git a/tests/e2e/postgresql/00-install.yaml b/tests/e2e/postgresql/00-install.yaml index 70ea10485..ef5833168 100644 --- a/tests/e2e/postgresql/00-install.yaml +++ b/tests/e2e/postgresql/00-install.yaml @@ -2,7 +2,6 @@ apiVersion: vshn.appcat.vshn.io/v1 kind: VSHNPostgreSQL metadata: name: postgresql-e2e-test - namespace: appcat-e2e spec: parameters: backup: diff --git a/tests/e2e/redis/00-assert.yaml b/tests/e2e/redis/00-assert.yaml index d79d7ebbc..afc61d8ca 100644 --- a/tests/e2e/redis/00-assert.yaml +++ b/tests/e2e/redis/00-assert.yaml @@ -1,6 +1,6 @@ apiVersion: kuttl.dev/v1beta1 kind: TestAssert -timeout: 180 +timeout: 600 --- apiVersion: vshn.appcat.vshn.io/v1 kind: VSHNRedis