Skip to content

Commit

Permalink
testcases/loading: Change loading values
Browse files Browse the repository at this point in the history
Reduce number of threads/processs to 50
resulting in 50 x 10 = 500 simultaneous connections.

Also increase the number of files per thread from 10 to 20.

Signed-off-by: Sachin Prabhu <[email protected]>
  • Loading branch information
spuiuk committed Apr 10, 2024
1 parent b4f2bec commit 0d475da
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions testcases/loading/test_loading.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
# total number of processes
total_processes: int = 10
# each with this number of threads
per_process_threads: int = 100
per_process_threads: int = 50
# running the connection test for this many seconds
test_runtime: int = 30

Expand All @@ -35,7 +35,7 @@ class SimpleLoadTest:
"""A helper class to generate a simple load on a SMB server"""

instance_num: int = 0
max_files: int = 10
max_files: int = 20
test_string: str = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz"

def __init__(
Expand Down

0 comments on commit 0d475da

Please sign in to comment.