File tree Expand file tree Collapse file tree 3 files changed +5
-5
lines changed
sdk/python/tests/integration/feature_repos/universal/online_store Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 1717import time
1818from typing import Dict
1919
20- from testcontainers .core . container import DockerContainer
20+ from testcontainers .cassandra import CassandraContainer
2121from testcontainers .core .waiting_utils import wait_for_logs
2222
2323from tests .integration .feature_repos .universal .online_store_creator import (
2828class CassandraOnlineStoreCreator (OnlineStoreCreator ):
2929 def __init__ (self , project_name : str , ** kwargs ):
3030 super ().__init__ (project_name )
31- self .container = DockerContainer ( "library/ cassandra:4.0 .4" ).with_exposed_ports (
32- " 9042"
31+ self .container = CassandraContainer ( " cassandra:4.1 .4" ).with_exposed_ports (
32+ 9042
3333 )
3434
3535 def create_online_store (self ) -> Dict [str , object ]:
Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ class PostgresOnlieStoreCreator(OnlineStoreCreator):
1111 def __init__ (self , project_name : str , ** kwargs ):
1212 super ().__init__ (project_name )
1313 self .container = (
14- PostgresContainer ("postgres:latest " , platform = "linux/amd64" )
14+ PostgresContainer ("postgres:16 " , platform = "linux/amd64" )
1515 .with_exposed_ports (5432 )
1616 .with_env ("POSTGRES_USER" , "root" )
1717 .with_env ("POSTGRES_PASSWORD" , "test" )
Original file line number Diff line number Diff line change 177177 "pytest-mock==1.10.4" ,
178178 "pytest-env" ,
179179 "Sphinx>4.0.0,<7" ,
180- "testcontainers>=3.5,<4 " ,
180+ "testcontainers==4.3.3 " ,
181181 "firebase-admin>=5.2.0,<6" ,
182182 "pre-commit<3.3.2" ,
183183 "assertpy==1.1" ,
You can’t perform that action at this time.
0 commit comments