Skip to content

Commit

Permalink
reduce timeouts
Browse files Browse the repository at this point in the history
  • Loading branch information
jaimergp committed Oct 14, 2024
1 parent 29044a9 commit 46df752
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions tests/test_workarounds.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ def test_build_string_filters():

@pytest.mark.parametrize("stage", ["Collecting package metadata", "Solving environment"])
def test_ctrl_c(stage):
TIMEOUT = 90 # Used twice in total, so account for double the amount
TIMEOUT = 10 # Used twice in total, so account for double the amount
p = sp.Popen(
[
sys.executable,
Expand Down Expand Up @@ -100,7 +100,6 @@ def test_ctrl_c(stage):
kernel.AttachConsole(p.pid)
kernel.SetConsoleCtrlHandler(None, 1)
kernel.GenerateConsoleCtrlEvent(0, 0)
kernel.GenerateConsoleCtrlEvent(0, 0)
p.wait(timeout=TIMEOUT)
finally:
kernel.SetConsoleCtrlHandler(None, 0)
Expand Down

0 comments on commit 46df752

Please sign in to comment.