diff --git a/sdk/python/pytest.ini b/sdk/python/pytest.ini index aa610eadb0..07a5e869dc 100644 --- a/sdk/python/pytest.ini +++ b/sdk/python/pytest.ini @@ -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 \ No newline at end of file + universal_online_stores: mark a test as using all online stores. \ No newline at end of file diff --git a/sdk/python/tests/integration/feature_repos/universal/online_store/mysql.py b/sdk/python/tests/integration/feature_repos/universal/online_store/mysql.py index 093295c86b..3c9ebccbf6 100644 --- a/sdk/python/tests/integration/feature_repos/universal/online_store/mysql.py +++ b/sdk/python/tests/integration/feature_repos/universal/online_store/mysql.py @@ -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") diff --git a/sdk/python/tests/unit/test_proto_json.py b/sdk/python/tests/unit/test_proto_json.py index b5e01744e4..5902e00863 100644 --- a/sdk/python/tests/unit/test_proto_json.py +++ b/sdk/python/tests/unit/test_proto_json.py @@ -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() diff --git a/sdk/python/tests/unit/test_sql_registry.py b/sdk/python/tests/unit/test_sql_registry.py index 943e96477a..27e446a999 100644 --- a/sdk/python/tests/unit/test_sql_registry.py +++ b/sdk/python/tests/unit/test_sql_registry.py @@ -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)