redis-benchmarks-specification 0.1.316__py3-none-any.whl → 0.1.318__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of redis-benchmarks-specification might be problematic. Click here for more details.

@@ -15,7 +15,7 @@ def generate_standalone_redis_server_args(
15
15
  redis_arguments="",
16
16
  password=None,
17
17
  ):
18
- added_params = ["port", "protected-mode", "dir", "requirepass"]
18
+ added_params = ["port", "protected-mode", "dir", "requirepass", "logfile"]
19
19
  # start redis-server
20
20
  command = [
21
21
  binary,
@@ -31,6 +31,7 @@ def generate_standalone_redis_server_args(
31
31
  logging.info("Redis server will be started with password authentication")
32
32
  if dbdir != "":
33
33
  command.extend(["--dir", dbdir])
34
+ command.extend(["--logfile", f"{dbdir}redis.log"])
34
35
  if configuration_parameters is not None:
35
36
  for parameter, parameter_value in configuration_parameters.items():
36
37
  if parameter not in added_params:
@@ -110,19 +110,23 @@ from redis_benchmarks_specification.__self_contained_coordinator__.build_info im
110
110
 
111
111
 
112
112
  def print_directory_logs(directory_path, description=""):
113
- """Print all files in a directory for debugging purposes."""
113
+ """Print all .log files in a directory for debugging purposes."""
114
114
  if not os.path.exists(directory_path):
115
115
  logging.warning(f"Directory {directory_path} does not exist")
116
116
  return
117
117
 
118
- logging.info(f"Printing all files in {description} directory: {directory_path}")
118
+ logging.info(f"Printing all .log files in {description} directory: {directory_path}")
119
119
  try:
120
120
  for root, dirs, files in os.walk(directory_path):
121
121
  for file in files:
122
+ # Only process .log files
123
+ if not file.endswith('.log'):
124
+ continue
125
+
122
126
  file_path = os.path.join(root, file)
123
- logging.info(f"Found file: {file_path}")
127
+ logging.info(f"Found log file: {file_path}")
124
128
  try:
125
- # Try to read and print the file content if it's a text file
129
+ # Try to read and print the log file content
126
130
  with open(file_path, "r", encoding="utf-8", errors="ignore") as f:
127
131
  content = f.read()
128
132
  if content.strip(): # Only print non-empty files
@@ -131,9 +135,9 @@ def print_directory_logs(directory_path, description=""):
131
135
  logging.info(content)
132
136
  logging.info("-" * 40)
133
137
  else:
134
- logging.info(f"File {file_path} is empty")
138
+ logging.info(f"Log file {file_path} is empty")
135
139
  except Exception as e:
136
- logging.warning(f"Could not read file {file_path}: {e}")
140
+ logging.warning(f"Could not read log file {file_path}: {e}")
137
141
  except Exception as e:
138
142
  logging.error(f"Error walking directory {directory_path}: {e}")
139
143
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: redis-benchmarks-specification
3
- Version: 0.1.316
3
+ Version: 0.1.318
4
4
  Summary: 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.
5
5
  Author: filipecosta90
6
6
  Author-email: filipecosta.90@gmail.com
@@ -32,11 +32,11 @@ redis_benchmarks_specification/__self_contained_coordinator__/artifacts.py,sha25
32
32
  redis_benchmarks_specification/__self_contained_coordinator__/build_info.py,sha256=vlg8H8Rxu2falW8xp1GvL1SV1fyBguSbz6Apxc7A2yM,2282
33
33
  redis_benchmarks_specification/__self_contained_coordinator__/clients.py,sha256=EL1V4-i-tTav1mcF_CUosqPF3Q1qi9BZL0zFajEk70c,1878
34
34
  redis_benchmarks_specification/__self_contained_coordinator__/cpuset.py,sha256=sRvtoJIitppcOpm3R5LbVmSfPEAqPumOqVATnF5Wbek,594
35
- redis_benchmarks_specification/__self_contained_coordinator__/docker.py,sha256=eXJM2FybaVNTjvTrKwHextcNmkCIK9HQaG8ZNWjgx18,3086
35
+ redis_benchmarks_specification/__self_contained_coordinator__/docker.py,sha256=09SyAfqlzs1KG9ZAajClNWtiNk4Jqzd--4-m3n1rLjU,3156
36
36
  redis_benchmarks_specification/__self_contained_coordinator__/post_processing.py,sha256=sVLKNnWdAqYY9DjVdqRC5tDaIrVSaI3Ca7w8-DQ-LRM,776
37
37
  redis_benchmarks_specification/__self_contained_coordinator__/prepopulation.py,sha256=1UeFr2T1ZQBcHCSd4W1ZtaWgXyFPfjLyDi_DgDc1eTA,2957
38
38
  redis_benchmarks_specification/__self_contained_coordinator__/runners.py,sha256=noRHn9leTfEm2fa1yHBHQd8TUGhFDoU86QQkHABnWSs,30073
39
- redis_benchmarks_specification/__self_contained_coordinator__/self_contained_coordinator.py,sha256=Epmn33YJG2ZvAJ1i1nJg5RTKzdVuwnrqqlcipWBdf5U,82394
39
+ redis_benchmarks_specification/__self_contained_coordinator__/self_contained_coordinator.py,sha256=t8xKP403TmV7KKb4cEb9E5ziR_ZXxEQfOJE1UczutJw,82518
40
40
  redis_benchmarks_specification/__setups__/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
41
41
  redis_benchmarks_specification/__setups__/topologies.py,sha256=xQ1IJkcTji_ZjLiJd3vOxZpvbNtBLZw9cPkw5hGJKHU,481
42
42
  redis_benchmarks_specification/__spec__/__init__.py,sha256=l-G1z-t6twUgi8QLueqoTQLvJmv3hJoEYskGm6H7L6M,83
@@ -276,8 +276,8 @@ redis_benchmarks_specification/test-suites/memtier_benchmark-playbook-session-st
276
276
  redis_benchmarks_specification/test-suites/memtier_benchmark-playbook-session-storage-1k-sessions.yml,sha256=2egtIxPxCze2jlbAfgsk4v9JSQHNMoPLbDWFEW8olDg,7006
277
277
  redis_benchmarks_specification/test-suites/template.txt,sha256=ezqGiRPOvuSDO0iG7GEf-AGXNfHbgXI89_G0RUEzL88,481
278
278
  redis_benchmarks_specification/vector-search-test-suites/vector_db_benchmark_test.yml,sha256=PD7ow-k4Ll2BkhEC3aIqiaCZt8Hc4aJIp96Lw3J3mcI,791
279
- redis_benchmarks_specification-0.1.316.dist-info/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
280
- redis_benchmarks_specification-0.1.316.dist-info/METADATA,sha256=L66m-6PEpln632fhKapPVqyHEDNhjNrcRT3lKNXM3Iw,22726
281
- redis_benchmarks_specification-0.1.316.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
282
- redis_benchmarks_specification-0.1.316.dist-info/entry_points.txt,sha256=x5WBXCZsnDRTZxV7SBGmC65L2k-ygdDOxV8vuKN00Nk,715
283
- redis_benchmarks_specification-0.1.316.dist-info/RECORD,,
279
+ redis_benchmarks_specification-0.1.318.dist-info/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
280
+ redis_benchmarks_specification-0.1.318.dist-info/METADATA,sha256=X3k0VsBmL2CBmb2CbD00lfqQ4zn7IC74SadBKyLsvvc,22726
281
+ redis_benchmarks_specification-0.1.318.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
282
+ redis_benchmarks_specification-0.1.318.dist-info/entry_points.txt,sha256=x5WBXCZsnDRTZxV7SBGmC65L2k-ygdDOxV8vuKN00Nk,715
283
+ redis_benchmarks_specification-0.1.318.dist-info/RECORD,,