From 2791ea869ec3b3f8a83257d8ed35bf6138ae0173 Mon Sep 17 00:00:00 2001 From: Tiffany Nguyen Date: Mon, 5 Feb 2024 20:47:11 -0800 Subject: [PATCH] fix issue 8986 (#9291) Increase the timeout for internal bucket health verification Signed-off-by: tiffanyn108 --- .../object/mcg/test_admission_control.py | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/tests/functional/object/mcg/test_admission_control.py b/tests/functional/object/mcg/test_admission_control.py index 4d0b03a074e..04c1c27908d 100644 --- a/tests/functional/object/mcg/test_admission_control.py +++ b/tests/functional/object/mcg/test_admission_control.py @@ -342,18 +342,18 @@ def test_store_target_bucket_change(self, bucket_factory_session, bucketclass_di Verify that store target bucket changing is blocked """ if "backingstore_dict" in bucketclass_dict: - store_name = ( - bucket_factory_session(1, bucketclass=bucketclass_dict)[0] - .bucketclass.backingstores[0] - .name + bucket_obj = bucket_factory_session( + 1, bucketclass=bucketclass_dict, verify_health=False ) + bucket_obj[0].verify_health(timeout=360) + store_name = bucket_obj[0].bucketclass.backingstores[0].name kind = "backingstore" else: - store_name = ( - bucket_factory_session(1, bucketclass=bucketclass_dict)[0] - .bucketclass.namespacestores[0] - .name + bucket_obj = bucket_factory_session( + 1, bucketclass=bucketclass_dict, verify_health=False ) + bucket_obj[0].verify_health(timeout=360) + store_name = bucket_obj[0].bucketclass.namespacestores[0].name kind = "namespacestore" try: OCP(