From 4e3e25ce2e44457e64c6cfb5b7b56b6ff57d8b17 Mon Sep 17 00:00:00 2001 From: shiyuhang <1136742008@qq.com> Date: Thu, 18 Aug 2022 14:58:25 +0800 Subject: [PATCH] fix port --- .github/workflows/main.yml | 2 ++ tests/functional/adapter/utils/test_util.py | 2 -- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 852cc53..7a49327 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -73,6 +73,7 @@ jobs: - name: Run tests run: | + export TIDB_TEST_PORT='4001' PYTHONPATH=. pytest tests/functional/adapter/utils/test_util.py PYTHONPATH=. pytest tests/functional/adapter/basic/test_tidb_v5_1_v5_2.py @@ -111,6 +112,7 @@ jobs: - name: Run tests run: | + export TIDB_TEST_PORT='4002' PYTHONPATH=. pytest tests/functional/adapter/utils/test_util.py PYTHONPATH=. pytest tests/functional/adapter/basic/test_tidb_v4_0_v5_0.py diff --git a/tests/functional/adapter/utils/test_util.py b/tests/functional/adapter/utils/test_util.py index f408415..1e3d196 100644 --- a/tests/functional/adapter/utils/test_util.py +++ b/tests/functional/adapter/utils/test_util.py @@ -48,8 +48,6 @@ class TestConcat(BaseConcat): pass - - class TestDateAdd(BaseDateAdd): @pytest.fixture(scope="class") def models(self):