From 75ad26989d10229f285f93152a8a8afddc870410 Mon Sep 17 00:00:00 2001 From: Ahmad Murzahmatov Date: Tue, 10 Jun 2025 15:31:19 +0600 Subject: [PATCH] [tests] VM Disk, VMI, VM Add 'Apps' tests for Virtual Machine Disk Virtual Machine Instance Virtual Machine PostgreSQL MySQL ClickHouse Signed-off-by: Ahmad Murzahmatov --- hack/e2e-apps.bats | 244 +++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 244 insertions(+) diff --git a/hack/e2e-apps.bats b/hack/e2e-apps.bats index 605c6413..e4c1e910 100755 --- a/hack/e2e-apps.bats +++ b/hack/e2e-apps.bats @@ -1,4 +1,5 @@ #!/usr/bin/env bats + # ----------------------------------------------------------------------------- # Cozystack end‑to‑end provisioning test (Bats) # ----------------------------------------------------------------------------- @@ -92,3 +93,246 @@ EOF kubectl wait machinedeployment kubernetes-test-md0 -n tenant-test --timeout=1m --for=jsonpath='{.status.replicas}'=2 kubectl wait machinedeployment kubernetes-test-md0 -n tenant-test --timeout=10m --for=jsonpath='{.status.v1beta2.readyReplicas}'=2 } + +@test "Create a VM Disk" { + name='test' + kubectl create -f - <