Skip to content

Commit

Permalink
Merge pull request #641 from anrao19/tfa_sending_config
Browse files Browse the repository at this point in the history
[TFA] AttributeError: for 'test_ops' seen, as config was not sent to the function declartion
  • Loading branch information
mergify[bot] authored Nov 14, 2024
2 parents 8c76c6c + d30f218 commit c499d66
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions rgw/v2/tests/s3_swift/reusable.py
Original file line number Diff line number Diff line change
Expand Up @@ -2143,7 +2143,7 @@ def verify_object_sync_on_other_site(rgw_ssh_con, bucket, config, bucket_object=
)
cmd_output = json.loads(stdout.read().decode())
if "rgw.main" not in cmd_output["usage"].keys():
for retry_count in range(20):
for retry_count in range(25):
time.sleep(60)
_, re_stdout, _ = rgw_ssh_con.exec_command(
f"radosgw-admin bucket stats --bucket {bucket.name}"
Expand All @@ -2160,9 +2160,9 @@ def verify_object_sync_on_other_site(rgw_ssh_con, bucket, config, bucket_object=
log.info(f"bucket stats synced for bucket {bucket.name}")
break

if (retry_count > 20) and ("rgw.main" not in re_cmd_output["usage"].keys()):
if (retry_count > 25) and ("rgw.main" not in re_cmd_output["usage"].keys()):
raise TestExecError(
f"object not synced on bucket {bucket.name} in another site even after 20m"
f"object not synced on bucket {bucket.name} in another site even after 25m"
)
cmd_output = re_cmd_output

Expand Down
2 changes: 1 addition & 1 deletion rgw/v2/tests/s3_swift/reusables/bucket_notification.py
Original file line number Diff line number Diff line change
Expand Up @@ -463,7 +463,7 @@ def verify(self, bucket_name):
# verify all the attributes of the event record. if event not received abort testcase
log.info("verify event record attributes")
verify = verify_event_record(
event, bucket_name, event_record_path, self.ceph_version_name
event, bucket_name, event_record_path, self.ceph_version_name, self.config
)
if verify is False:
raise EventRecordDataError(
Expand Down

0 comments on commit c499d66

Please sign in to comment.