From 011c004444ce519ccddd0520bac8081a090ad2b5 Mon Sep 17 00:00:00 2001 From: Yulia Persky Date: Mon, 8 Jul 2024 11:34:57 +0300 Subject: [PATCH] adding pvc resize functionality Signed-off-by: Yulia Persky --- .../pv/pv_services/test_pvc_change_access_modes_rwop.py | 0 tests/functional/pv/pv_services/test_rwop_pvc.py | 7 +++++++ 2 files changed, 7 insertions(+) create mode 100644 tests/functional/pv/pv_services/test_pvc_change_access_modes_rwop.py diff --git a/tests/functional/pv/pv_services/test_pvc_change_access_modes_rwop.py b/tests/functional/pv/pv_services/test_pvc_change_access_modes_rwop.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/tests/functional/pv/pv_services/test_rwop_pvc.py b/tests/functional/pv/pv_services/test_rwop_pvc.py index eb25e168b34..f924d1f16b7 100644 --- a/tests/functional/pv/pv_services/test_rwop_pvc.py +++ b/tests/functional/pv/pv_services/test_rwop_pvc.py @@ -59,6 +59,13 @@ def test_pod_with_same_priority(self, pod_factory, interface): # Verify that PVCs are reusable by creating new pods log.info(f"PVC obj {self.pvc_obj}") + self.create_pod_and_validate_pending(pod_factory, interface) + + self.pvc_obj.resize_pvc(20, True) + + self.create_pod_and_validate_pending(pod_factory, interface) + + def create_pod_and_validate_pending(self, pod_factory, interface): new_pod_obj = helpers.create_pods( [self.pvc_obj], pod_factory,