File tree Expand file tree Collapse file tree 1 file changed +16
-14
lines changed
redis_benchmarks_specification/__self_contained_coordinator__ Expand file tree Collapse file tree 1 file changed +16
-14
lines changed Original file line number Diff line number Diff line change @@ -1019,21 +1019,23 @@ def process_self_contained_coordinator_stream(
1019
1019
# run the benchmark
1020
1020
benchmark_start_time = datetime .datetime .now ()
1021
1021
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
+ },
1028
1030
},
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
+ )
1037
1039
)
1038
1040
except docker .errors .ContainerError as e :
1039
1041
logging .info (
You can’t perform that action at this time.
0 commit comments