Skip to content

Commit f85dab1

Browse files
Bumping version to 0.1.40. Fixed linting issues (#115)
1 parent 8d7b451 commit f85dab1

File tree

3 files changed

+15
-17
lines changed

3 files changed

+15
-17
lines changed

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tool.poetry]
22
name = "redis-benchmarks-specification"
3-
version = "0.1.39"
3+
version = "0.1.40"
44
description = "The Redis benchmarks specification describes the cross-language/tools requirements and expectations to foster performance and observability standards around redis related technologies. Members from both industry and academia, including organizations and individuals are encouraged to contribute."
55
authors = ["filipecosta90 <[email protected]>","Redis Performance Group <[email protected]>"]
66
readme = "Readme.md"

redis_benchmarks_specification/__runner__/runner.py

Lines changed: 8 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -288,30 +288,25 @@ def process_self_contained_coordinator_stream(
288288
redis_pids.append(first_redis_pid)
289289

290290
setup_name = "oss-standalone"
291-
github_actor = "{}-{}".format(
292-
tf_triggering_env, running_platform
293-
)
291+
github_actor = "{}-{}".format(tf_triggering_env, running_platform)
294292
dso = "redis-server"
295293
profilers_artifacts_matrix = []
296294

297295
collection_summary_str = ""
298296
if profilers_enabled:
299-
collection_summary_str = (
300-
local_profilers_platform_checks(
301-
dso,
302-
github_actor,
303-
git_branch,
304-
tf_github_repo,
305-
git_hash,
306-
)
297+
collection_summary_str = local_profilers_platform_checks(
298+
dso,
299+
github_actor,
300+
git_branch,
301+
tf_github_repo,
302+
git_hash,
307303
)
308304
logging.info(
309305
"Using the following collection summary string for profiler description: {}".format(
310306
collection_summary_str
311307
)
312308
)
313309

314-
315310
ceil_client_cpu_limit = extract_client_cpu_limit(benchmark_config)
316311
client_cpuset_cpus, current_cpu_pos = generate_cpuset_cpus(
317312
ceil_client_cpu_limit, current_cpu_pos
@@ -426,10 +421,7 @@ def process_self_contained_coordinator_stream(
426421
profiler_frequency = 99
427422

428423
# start the profile
429-
(
430-
profiler_name,
431-
profilers_map,
432-
) = profilers_start_if_required(
424+
(profiler_name, profilers_map,) = profilers_start_if_required(
433425
profilers_enabled,
434426
profilers_list,
435427
redis_pids,

redis_benchmarks_specification/__self_contained_coordinator__/args.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,12 @@ def create_self_contained_coordinator_args(project_name):
5858
default=1,
5959
help="Consumer id for consumer group for platform",
6060
)
61+
parser.add_argument(
62+
"--consumer-pos",
63+
type=int,
64+
default=1,
65+
help="Consumer pos for consumer group for platform",
66+
)
6167

6268
parser.add_argument(
6369
"--setups-folder",

0 commit comments

Comments
 (0)