From ddd73d426aa46530e9ab2c31c38a5e1a70dc4f8e Mon Sep 17 00:00:00 2001 From: EESergey Date: Tue, 30 Jul 2024 11:11:57 +0200 Subject: [PATCH] scenarios: fix parallel data generation Signed-off-by: EESergey --- scenarios/preset/preset_grpc.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scenarios/preset/preset_grpc.py b/scenarios/preset/preset_grpc.py index b28e6fc..c8c7289 100755 --- a/scenarios/preset/preset_grpc.py +++ b/scenarios/preset/preset_grpc.py @@ -6,6 +6,7 @@ from argparse import Namespace from concurrent.futures import ProcessPoolExecutor +from os.path import expanduser from helpers.cmd import random_payload from helpers.neofs_cli import create_container, upload_object @@ -33,7 +34,7 @@ def main(): container_list = [] objects_struct = [] - payload_filepath = '/tmp/data_file' + payload_filepath = expanduser("~") + '/data_file_' + args.size + 'k' endpoints = args.endpoint.split(',')