- set wkld concurrency level to default urllib pool size
Set wkld_concurrency to 10 which is the default urllib pool size
to avoid the event:
WARNING:urllib3.connectionpool:Connection pool is full,
discarding connection: ... Connection pool size: 10
- make the client wkld less aggresive
Signed-off-by: Oguzhan Ozmen <oozmen@bloomberg.net>
def test_period_update_commit():
- wkld_concurrency = 25
- num_objects_to_upload = 2500
- number_of_period_updates = 5
+ wkld_concurrency = 10
+ num_objects_to_upload = 1000
+ number_of_period_updates = 3
test_passed = False
zonegroup = realm.master_zonegroup()
Bucket=bucket.name, Key=f"obj-{i:04d}", Body="..."
)
num_uploads += 1
+ if stop_event.is_set():
+ break
+ time.sleep(0.01)
except Exception as e:
log.debug(f"failed to upload object to bucket={bucket.name}: {e}")
log.info(