Skip to content

Commit 0a885b5

Browse files
[fix] Fixed redistimeseries.client error o self-contained-coordinator (#53)
1 parent fc36cdc commit 0a885b5

File tree

6 files changed

+5
-46
lines changed

6 files changed

+5
-46
lines changed

poetry.lock

Lines changed: 1 addition & 29 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pyproject.toml

Lines changed: 2 additions & 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.14"
3+
version = "0.1.15"
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 <filipecosta.90@gmail.com>","Redis Performance Group <performance@redis.com>"]
66
readme = "Readme.md"
@@ -21,6 +21,7 @@ psutil = "^5.8.0"
2121
tox-docker = "^3.0.0"
2222
PyGithub = "^1.55"
2323
GitPython = "^3.1.20"
24+
redistimeseries = "1.4.3"
2425

2526
[tool.poetry.dev-dependencies]
2627
black = "20.8b1"

redis_benchmarks_specification/__self_contained_coordinator__/self_contained_coordinator.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
import redis
1212
import os
1313
from pathlib import Path
14-
import redistimeseries
14+
from redistimeseries.client import Client
1515
from docker.models.containers import Container
1616

1717
from redisbench_admin.run.common import (
@@ -127,7 +127,7 @@ def main():
127127
)
128128
)
129129
try:
130-
rts = redistimeseries.client.Client(
130+
rts = Client(
131131
host=args.datasink_redistimeseries_host,
132132
port=args.datasink_redistimeseries_port,
133133
decode_responses=True,

utils/tests/test_api.py

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -15,12 +15,6 @@
1515
GH_TOKEN,
1616
)
1717

18-
import pytest
19-
20-
import pytest
21-
22-
# First party modules
23-
2418

2519
def test_commit_schema_to_stream():
2620
result, reply_fields, error_msg = commit_schema_to_stream(

utils/tests/test_data/dump.rdb

2 Bytes
Binary file not shown.

utils/tests/test_self_contained_coordinator.py

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -9,15 +9,7 @@
99
from redisbench_admin.utils.remote import get_overall_dashboard_keynames
1010
from redisbench_admin.utils.utils import get_ts_metric_name
1111

12-
from redis_benchmarks_specification.__common__.builder_schema import (
13-
commit_schema_to_stream,
14-
)
15-
from redis_benchmarks_specification.__builder__.builder import (
16-
builder_consumer_group_create,
17-
builder_process_stream,
18-
)
1912
from redis_benchmarks_specification.__common__.env import (
20-
STREAM_KEYNAME_GH_EVENTS_COMMIT,
2113
STREAM_KEYNAME_NEW_BUILD_EVENTS,
2214
)
2315
from redis_benchmarks_specification.__common__.spec import (

0 commit comments

Comments
 (0)