Skip to content

Commit

Permalink
Merge pull request #513 from vshn/fix/speedup_e2e
Browse files Browse the repository at this point in the history
Optimize MariaDB e2e test
  • Loading branch information
Kidswiss authored Oct 21, 2024
2 parents d64b330 + 8892663 commit 4fccef8
Show file tree
Hide file tree
Showing 4 changed files with 34 additions and 4 deletions.
2 changes: 0 additions & 2 deletions tests/e2e/mariadb/00-assert.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,6 @@ spec:
security:
deletionProtection: true
service:
access:
- user: e2e-test
serviceLevel: besteffort
version: "11.2"
size:
Expand Down
2 changes: 0 additions & 2 deletions tests/e2e/mariadb/00-install.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,6 @@ metadata:
spec:
parameters:
service:
access:
- user: e2e-test
size:
plan: standard-2
writeConnectionSecretToRef:
Expand Down
21 changes: 21 additions & 0 deletions tests/e2e/mariadb/02-assert.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
apiVersion: kuttl.dev/v1beta1
kind: TestAssert
timeout: 600
---
apiVersion: vshn.appcat.vshn.io/v1
kind: VSHNMariaDB
metadata:
name: mariadb-e2e
spec:
parameters:
service:
access:
- user: e2e-test
size:
plan: standard-2
writeConnectionSecretToRef:
name: mariadb-creds
status:
conditions:
- status: "True"
- status: "True"
13 changes: 13 additions & 0 deletions tests/e2e/mariadb/02-install.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
apiVersion: vshn.appcat.vshn.io/v1
kind: VSHNMariaDB
metadata:
name: mariadb-e2e
spec:
parameters:
service:
access:
- user: e2e-test
size:
plan: standard-2
writeConnectionSecretToRef:
name: mariadb-creds

0 comments on commit 4fccef8

Please sign in to comment.