Skip to content

Commit

Permalink
fix minor issues
Browse files Browse the repository at this point in the history
Signed-off-by: Mahesh Shetty <[email protected]>
  • Loading branch information
mashetty330 committed Oct 18, 2023
1 parent a02260b commit 6bf3727
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
1 change: 0 additions & 1 deletion tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,6 @@
get_noobaa_pods,
get_pod_count,
wait_for_pods_by_label_count,
get_noobaa_core_pod,
)
from ocs_ci.ocs.resources.pvc import PVC, create_restore_pvc
from ocs_ci.ocs.version import get_ocs_version, get_ocp_version_dict, report_ocs_version
Expand Down
7 changes: 7 additions & 0 deletions tests/e2e/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -777,6 +777,7 @@ def factory(number_of_buckets, bucket_types, cloud_providers):

if len(all_buckets) % 2 != 0:
all_buckets[len(all_buckets) - 1].delete()
all_buckets.remove(all_buckets[len(all_buckets) - 1])

source_target_map = dict()
index = 0
Expand All @@ -795,6 +796,9 @@ def factory(number_of_buckets, bucket_types, cloud_providers):

index += 2

logger.info(
f"Buckets created under replication setup: {[bucket.name for bucket in all_buckets]}"
)
return all_buckets, source_target_map

return factory
Expand Down Expand Up @@ -887,6 +891,9 @@ def factory(number_of_buckets, bucket_types, cloud_providers):
Bucket=bucket.name, LifecycleConfiguration=expiration_rule
)

logger.info(
f"Buckets created under expiration setup: {[bucket.name for bucket in all_buckets]}"
)
return all_buckets

return factory
Expand Down

0 comments on commit 6bf3727

Please sign in to comment.