-
Notifications
You must be signed in to change notification settings - Fork 170
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Setup buckets for stress testing, upload objects to the bucket parallel
Signed-off-by: Mahesh Shetty <[email protected]>
- Loading branch information
Mahesh Shetty
authored and
Mahesh Shetty
committed
Nov 28, 2024
1 parent
c1b42da
commit 7cb9c71
Showing
3 changed files
with
108 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
from ocs_ci.helpers.mcg_stress_helper import upload_objs_to_buckets | ||
|
||
|
||
class TestNoobaaUnderStress: | ||
|
||
base_setup_buckets = None | ||
|
||
def test_noobaa_under_stress( | ||
self, | ||
setup_stress_testing_bucket, | ||
nb_stress_cli_pod, | ||
mcg_obj_session, | ||
rgw_obj_session, | ||
): | ||
|
||
self.base_setup_buckets = setup_stress_testing_bucket() | ||
|
||
upload_objs_to_buckets( | ||
mcg_obj_session, | ||
nb_stress_cli_pod, | ||
self.base_setup_buckets, | ||
) |