Skip to content

Commit

Permalink
fix issue 8986 (#9291)
Browse files Browse the repository at this point in the history
Increase the timeout for internal bucket health verification
Signed-off-by: tiffanyn108 <[email protected]>
  • Loading branch information
tiffanyn108 authored Feb 6, 2024
1 parent 48160dd commit 2791ea8
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions tests/functional/object/mcg/test_admission_control.py
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down

0 comments on commit 2791ea8

Please sign in to comment.