Skip to content

Commit 3bcff6f

Browse files
committed
test(api): adjust Redis and PostgreSQL version used in testcontainer tests
Keep them in sync with deploy/docker-compose.yaml
1 parent a07348f commit 3bcff6f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

api/tests/test_containers_integration_tests/conftest.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ def start_containers_with_env(self) -> None:
6666
# PostgreSQL is used for storing user data, workflows, and application state
6767
logger.info("Initializing PostgreSQL container...")
6868
self.postgres = PostgresContainer(
69-
image="postgres:16-alpine",
69+
image="postgres:14-alpine",
7070
)
7171
self.postgres.start()
7272
db_host = self.postgres.get_container_host_ip()
@@ -118,7 +118,7 @@ def start_containers_with_env(self) -> None:
118118
# Start Redis container for caching and session management
119119
# Redis is used for storing session data, cache entries, and temporary data
120120
logger.info("Initializing Redis container...")
121-
self.redis = RedisContainer(image="redis:latest", port=6379)
121+
self.redis = RedisContainer(image="redis:6-alpine", port=6379)
122122
self.redis.start()
123123
redis_host = self.redis.get_container_host_ip()
124124
redis_port = self.redis.get_exposed_port(6379)

0 commit comments

Comments
 (0)