Skip to content

Commit

Permalink
Skip cancel tests on windows (#1314)
Browse files Browse the repository at this point in the history
* 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]>
  • Loading branch information
5 people authored Aug 1, 2024
1 parent d1976bb commit 71dd575
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions tests/functional/test_cancel.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
import platform

import time

import os
Expand Down Expand Up @@ -101,6 +103,9 @@ def _get_job_id(project, table_name):
return job_id


@pytest.mark.skipif(
platform.system() == "Windows", reason="running signt is unsupported on Windows."
)
class TestBigqueryCancelsQueriesOnKeyboardInterrupt:
@pytest.fixture(scope="class", autouse=True)
def models(self):
Expand Down

0 comments on commit 71dd575

Please sign in to comment.