From d2176eaa271b06f85a6f1eff944d5df92d6e1f74 Mon Sep 17 00:00:00 2001 From: huanghuoguoguo <60681390+huanghuoguoguo@users.noreply.github.com> Date: Thu, 29 Oct 2026 14:43:13 +0800 Subject: [PATCH] test(persistence): require PostgreSQL release upgrade regression --- tests/integration/persistence/test_release_41011_upgrade.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/integration/persistence/test_release_41011_upgrade.py b/tests/integration/persistence/test_release_41011_upgrade.py index ad73be4e6..65e4814e9 100644 --- a/tests/integration/persistence/test_release_41011_upgrade.py +++ b/tests/integration/persistence/test_release_41011_upgrade.py @@ -15,7 +15,7 @@ from tests.integration.persistence.test_migration_branch_convergence import ( ) -@pytest.fixture(params=['sqlite', 'postgresql']) +@pytest.fixture(params=['sqlite', pytest.param('postgresql', marks=[pytest.mark.slow, pytest.mark.postgres])]) async def convergence_engine(request, tmp_path): import os import uuid @@ -46,6 +46,7 @@ async def convergence_engine(request, tmp_path): @pytest.mark.asyncio +@pytest.mark.contract('migration_history') async def test_release_41011_upgrade(convergence_engine, monkeypatch): from langbot.pkg.utils import constants