Skip to content
This repository was archived by the owner on Sep 2, 2025. It is now read-only.

Commit 71dd575

Browse files
colin-rogers-dbtd-coleMichelleArkjtcohen6
authored
Skip cancel tests on windows (#1314)
* Add query cancellation. * clean up merge + linting * Add back mp_context * generating a fresh job_id for every _query_and_results call * add cancellation test * add cancellation test * add seed cancellation * remove type ignore * add changie * use defaultdict to simplify code * skip test_cancel.py on windows * use dynamic schema in test_grant_access_to.py * use dynamic schema in test_grant_access_to.py * revert setup --------- Co-authored-by: Daniel Cole <[email protected]> Co-authored-by: Michelle Ark <[email protected]> Co-authored-by: Michelle Ark <[email protected]> Co-authored-by: Jeremy Cohen <[email protected]>
1 parent d1976bb commit 71dd575

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

tests/functional/test_cancel.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
import platform
2+
13
import time
24

35
import os
@@ -101,6 +103,9 @@ def _get_job_id(project, table_name):
101103
return job_id
102104

103105

106+
@pytest.mark.skipif(
107+
platform.system() == "Windows", reason="running signt is unsupported on Windows."
108+
)
104109
class TestBigqueryCancelsQueriesOnKeyboardInterrupt:
105110
@pytest.fixture(scope="class", autouse=True)
106111
def models(self):

0 commit comments

Comments
 (0)