Skip to content

Commit a04f0d6

Browse files
committed
chore: pinned specmatic redis version
1 parent 185bb83 commit a04f0d6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/redis/test_redis_service.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
import logging
2-
import warnings
32

43
import pytest
54
from redis import Redis
@@ -16,13 +15,14 @@
1615
logger = logging.getLogger("specmatic.redis.mock")
1716
logger.setLevel(logging.DEBUG)
1817

18+
SPECMATIC_REDIS_VERSION = '0.9.4'
1919

2020
class TestRedisService:
2121

2222
@pytest.fixture(scope="class")
2323
def redis_service(self):
2424
container = (
25-
DockerContainer("specmatic/specmatic-redis:latest")
25+
DockerContainer(f"specmatic/specmatic-redis:{SPECMATIC_REDIS_VERSION}")
2626
.with_command(f"virtualize --host {REDIS_HOST} --port {REDIS_PORT} --data {STUB_DATA_DIR}")
2727
.with_exposed_ports(REDIS_PORT)
2828
.with_volume_mapping(STUB_DATA_DIR, STUB_DATA_DIR)

0 commit comments

Comments
 (0)