Skip to content

Commit 9b32c5b

Browse files
committed
Reformat self_contained_coordinator.py
1 parent 406c29f commit 9b32c5b

File tree

1 file changed

+16
-14
lines changed

1 file changed

+16
-14
lines changed

redis_benchmarks_specification/__self_contained_coordinator__/self_contained_coordinator.py

Lines changed: 16 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1019,21 +1019,23 @@ def process_self_contained_coordinator_stream(
10191019
# run the benchmark
10201020
benchmark_start_time = datetime.datetime.now()
10211021
try:
1022-
client_container_stdout = docker_client.containers.run(
1023-
image=client_container_image,
1024-
volumes={
1025-
temporary_dir_client: {
1026-
"bind": client_mnt_point,
1027-
"mode": "rw",
1022+
client_container_stdout = (
1023+
docker_client.containers.run(
1024+
image=client_container_image,
1025+
volumes={
1026+
temporary_dir_client: {
1027+
"bind": client_mnt_point,
1028+
"mode": "rw",
1029+
},
10281030
},
1029-
},
1030-
auto_remove=True,
1031-
privileged=True,
1032-
working_dir=benchmark_tool_workdir,
1033-
command=benchmark_command_str,
1034-
network_mode="host",
1035-
detach=False,
1036-
cpuset_cpus=client_cpuset_cpus,
1031+
auto_remove=True,
1032+
privileged=True,
1033+
working_dir=benchmark_tool_workdir,
1034+
command=benchmark_command_str,
1035+
network_mode="host",
1036+
detach=False,
1037+
cpuset_cpus=client_cpuset_cpus,
1038+
)
10371039
)
10381040
except docker.errors.ContainerError as e:
10391041
logging.info(

0 commit comments

Comments
 (0)