Skip to content

Commit

Permalink
use mysql image version 8.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
piket committed Nov 2, 2023
1 parent c7c4e9d commit 32917a3
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 6 deletions.
4 changes: 1 addition & 3 deletions sdk/python/pytest.ini
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
[pytest]
markers =
universal_offline_stores: mark a test as using all offline stores.
universal_online_stores: mark a test as using all online stores.
env =
TC_MAX_TRIES=300
universal_online_stores: mark a test as using all online stores.
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ class MySQLOnlineStoreCreator(OnlineStoreCreator):
def __init__(self, project_name: str, **kwargs):
super().__init__(project_name)
self.container = (
MySqlContainer("mysql:latest", platform="linux/amd64")
MySqlContainer("mysql:8.1.0", platform="linux/amd64")
.with_exposed_ports(3306)
.with_env("MYSQL_USER", "root")
.with_env("MYSQL_PASSWORD", "test")
Expand Down
2 changes: 1 addition & 1 deletion sdk/python/tests/unit/test_proto_json.py
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,6 @@ def test_feature_list(proto_json_patch):
)


@pytest.fixture(scope="module")
@pytest.fixture(scope="session")
def proto_json_patch():
proto_json.patch()
2 changes: 1 addition & 1 deletion sdk/python/tests/unit/test_sql_registry.py
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ def pg_registry():
@pytest.fixture(scope="session")
def mysql_registry():
container = (
DockerContainer("mysql:latest")
DockerContainer("mysql:8.1.0")
.with_exposed_ports(3306)
.with_env("MYSQL_RANDOM_ROOT_PASSWORD", "true")
.with_env("MYSQL_USER", POSTGRES_USER)
Expand Down

0 comments on commit 32917a3

Please sign in to comment.