Skip to content

Commit 2309045

Browse files
authored
ci: Specifying timeout method (#126)
1 parent e27e71f commit 2309045

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

.github/workflows/integration-tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,5 +45,5 @@ jobs:
4545
API_ENDPOINT: "api.dev.firebolt.io"
4646
ACCOUNT_NAME: "firebolt"
4747
run: |
48-
pytest -n 6 -o log_cli=true -o log_cli_level=INFO tests/integration
48+
pytest -n 6 --timeout_method "signal" -o log_cli=true -o log_cli_level=INFO tests/integration
4949

.github/workflows/nightly.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,5 +54,5 @@ jobs:
5454
ACCOUNT_NAME: "firebolt"
5555
API_ENDPOINT: "api.dev.firebolt.io"
5656
run: |
57-
pytest -o log_cli=true -o log_cli_level=INFO tests/integration
57+
pytest --timeout_method "thread" -o log_cli=true -o log_cli_level=INFO tests/integration
5858

tests/integration/dbapi/async/test_queries_async.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ async def test_select(
6666

6767

6868
@mark.asyncio
69-
@mark.timeout(timeout=400, method="signal")
69+
@mark.timeout(timeout=400)
7070
async def test_long_query(
7171
connection: Connection,
7272
) -> None:

tests/integration/dbapi/sync/test_queries.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ def test_select(
6262
)
6363

6464

65-
@mark.timeout(timeout=400, method="signal")
65+
@mark.timeout(timeout=400)
6666
def test_long_query(
6767
connection: Connection,
6868
) -> None:

0 commit comments

Comments
 (0)