Skip to content

Commit

Permalink
Increase wait in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
zanieb committed Dec 18, 2023
1 parent bb6baf5 commit fc1c83c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion tests/test_index.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import subprocess

import psutil
import os
import pytest
from packse.index import write_server_pid

Expand Down Expand Up @@ -54,7 +55,8 @@ def test_index_up_foreground(snapshot, tmpcwd, tmpenviron):
snapshot_command(
["index", "up"],
extra_filters=FILTERS,
interrupt_after=5,
# Send a keyboard interrupt after a bit — use a longer delay for slow CI machines
interrupt_after=10 if os.environ.get("CI") else 5,
)
== snapshot
)
Expand Down

0 comments on commit fc1c83c

Please sign in to comment.