Skip to content

Commit

Permalink
Removes CephBlockPool interface from parameterized argument (#10321)
Browse files Browse the repository at this point in the history
Removes CephBlockPool interface from parameterised argument

Signed-off-by: Uday Kurundwade <[email protected]>
  • Loading branch information
udaysk23 authored Aug 30, 2024
1 parent 547eaca commit c95770a
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 18 deletions.
2 changes: 1 addition & 1 deletion ocs_ci/ocs/resources/cloud_manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ def delete_uls(self, name):

try:
for deletion_result in TimeoutSampler(
60, 5, self.internal_delete_uls, name
300, 5, self.internal_delete_uls, name
):
if deletion_result:
logger.info("ULS deleted.")
Expand Down
24 changes: 7 additions & 17 deletions tests/cross_functional/scale/noobaa/test_warp.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import logging
import pytest
from time import sleep
from ocs_ci.ocs import warp
from ocs_ci.utility import utils
from ocs_ci.ocs.constants import DEFAULT_STORAGECLASS_RBD
from ocs_ci.ocs.scale_noobaa_lib import (
get_noobaa_pods_status,
check_memory_leak_in_noobaa_endpoint_log,
Expand Down Expand Up @@ -48,18 +48,6 @@ class TestWarp(E2ETest):
pytest.param(
*[1, "OC", None],
),
pytest.param(
*[
1,
"OC",
{
"interface": "OC",
"backingstore_dict": {
"pv": [(1, 100, DEFAULT_STORAGECLASS_RBD)]
},
},
],
),
pytest.param(
*[
1,
Expand Down Expand Up @@ -94,7 +82,6 @@ class TestWarp(E2ETest):
],
ids=[
"OC-DEFAULT-BACKINGSTORE",
"OC-PVPOOL",
"OC-AWS",
"OC-AZURE",
"OC-GCP",
Expand Down Expand Up @@ -129,17 +116,20 @@ def test_s3_benchmark_warp(
# Check noobaa pods status before running Warp benchmark
get_noobaa_pods_status()

# Sleeping script for 1 minute before triggering warp workload
sleep(60)

# Running warp s3 benchmark
warps3.run_benchmark(
bucket_name=object_bucket.name,
access_key=mcg_obj.access_key_id,
secret_key=mcg_obj.access_key,
duration="60m",
concurrent=20,
duration="30m",
concurrent=1,
objects=5000,
obj_size="4KB",
validate=True,
timeout=4000,
timeout=8000,
multi_client=False,
)

Expand Down

0 comments on commit c95770a

Please sign in to comment.