Skip to content

Commit 0801cf8

Browse files
committed
fix cluster url
1 parent 465c21e commit 0801cf8

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

tox.ini

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -282,11 +282,12 @@ extras =
282282
hiredis: hiredis
283283
ocsp: cryptography, pyopenssl, requests
284284
setenv =
285-
CLUSTER_URL = "redis://localhost:6372/0"
285+
CLUSTER_URL = "redis://localhost:16379/0"
286+
UNSTABLE_CLUSTER_URL = "redis://localhost:6372/0"
286287
commands =
287288
standalone: pytest --cov=./ --cov-report=xml:coverage_redis.xml -W always -m 'not onlycluster' {posargs}
288289
standalone-uvloop: pytest --cov=./ --cov-report=xml:coverage_redis.xml -W always -m 'not onlycluster' --uvloop {posargs}
289-
cluster: pytest --cov=./ --cov-report=xml:coverage_cluster.xml -W always -m 'not onlynoncluster and not redismod' --redis-url={env:CLUSTER_URL:} --redis-unstable-url={env:CLUSTER_URL:} {posargs}
290+
cluster: pytest --cov=./ --cov-report=xml:coverage_cluster.xml -W always -m 'not onlynoncluster and not redismod' --redis-url={env:CLUSTER_URL:} --redis-unstable-url={env:UNSTABLE_CLUSTER_URL:} {posargs}
290291
cluster-uvloop: pytest --cov=./ --cov-report=xml:coverage_redis.xml -W always -m 'not onlycluster' --uvloop {posargs}
291292

292293
[testenv:redis5]

0 commit comments

Comments
 (0)