From 726c0f677429c8eb09925a44e048448f7239ff3c Mon Sep 17 00:00:00 2001 From: KillianG Date: Wed, 14 Aug 2024 10:09:33 +0200 Subject: [PATCH] End2End PRA add uninstall re-install test Issue: ZENKO-4775 --- .github/workflows/end2end.yaml | 2 +- tests/ctst/features/pra.feature | 15 +++++++++++++-- 2 files changed, 14 insertions(+), 3 deletions(-) diff --git a/.github/workflows/end2end.yaml b/.github/workflows/end2end.yaml index 1cde094fe4..c866c403b0 100644 --- a/.github/workflows/end2end.yaml +++ b/.github/workflows/end2end.yaml @@ -92,7 +92,7 @@ env: KUBECTL_VERSION: "1.30.0" TILT_VERSION: "0.23.4" KIND_VERSION: "v0.12.0" - DRCTL_TAG: "v1.0.2" + DRCTL_TAG: "0a1ef864194e8e43c20fb0577538101ee1305d23" ZENKO_ENABLE_SOSAPI: false TIME_PROGRESSION_FACTOR: 1 EXPIRE_ONE_DAY_EARLIER: true diff --git a/tests/ctst/features/pra.feature b/tests/ctst/features/pra.feature index 30f8f52c8b..c5a5ef514d 100644 --- a/tests/ctst/features/pra.feature +++ b/tests/ctst/features/pra.feature @@ -36,8 +36,19 @@ Feature: PRA operations And object "obj-1" should "" be "transitioned" and have the storage class "e2e-cold" on "DR" site # Uninstall DR - #When I uninstall DR - #Then the DR custom resources should be deleted + When I uninstall DR + Then the DR custom resources should be deleted + + # Re-add objects to bucket + Given objects "obj3" of size bytes on "Primary" site + Then object "obj3-1" should "" be "transitioned" and have the storage class "e2e-cold" on "Primary" site + + # Deploy PRA again + Given a DR installed + Then the DR source should be in phase "Running" + And the DR sink should be in phase "Running" + Then object "obj3-1" should "" be "transitioned" and have the storage class "e2e-cold" on "DR" site + And object "obj3-2" should "" be "transitioned" and have the storage class "e2e-cold" on "DR" site Examples: | versioningConfiguration | objectCount | objectSize |