From f80c7804206046cfa19d2ecc5fe421564ca735a5 Mon Sep 17 00:00:00 2001 From: Jeffrey Aven Date: Mon, 16 Oct 2023 09:15:44 +1100 Subject: [PATCH] extended server wait period for async server tests --- .github/workflows/async_server_tests.yaml | 6 +++--- tests/pystackql_async_server_tests.py | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/async_server_tests.yaml b/.github/workflows/async_server_tests.yaml index f3c5a47..c3e1d96 100644 --- a/.github/workflows/async_server_tests.yaml +++ b/.github/workflows/async_server_tests.yaml @@ -11,7 +11,7 @@ jobs: os: - ubuntu-latest # - windows-latest - # - macos-latest + - macos-latest python-version: - "3.7" - "3.8" @@ -22,8 +22,8 @@ jobs: exclude: - os: windows-latest python-version: "3.12" - - os: ubuntu-latest - python-version: "3.12" + # - os: ubuntu-latest + # python-version: "3.12" runs-on: ${{matrix.os}} name: 'Run Tests on ${{matrix.os}} with Python ${{matrix.python-version}}' diff --git a/tests/pystackql_async_server_tests.py b/tests/pystackql_async_server_tests.py index e6480b2..e985b35 100644 --- a/tests/pystackql_async_server_tests.py +++ b/tests/pystackql_async_server_tests.py @@ -25,7 +25,7 @@ def setUpModule(): print(res) print("starting stackql server...") PyStackQLTestsBase.server_process = subprocess.Popen([PyStackQLTestsBase.stackql.bin_path, "srv", "--pgsrv.address", server_address, "--pgsrv.port", str(server_port)]) - time.sleep(5) + time.sleep(30) def tearDownModule(): print("stopping stackql server...")