Skip to content

Commit

Permalink
chore: set func_only=True to avoid counting the fixture cost towards …
Browse files Browse the repository at this point in the history
…the timeout
  • Loading branch information
cpcloud committed Jul 31, 2024
1 parent 78f97f2 commit 0ada4d0
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions ibis/backends/tests/tpc/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,11 @@ def inner(test: Callable[..., ir.Table]):
# join performance black holes
#
# trino can sometimes take a while as well, especially in CI
#
# func_only=True doesn't include the fixture setup time in the duration
# of the test run, which is important since backends can take a hugely
# variable amount of time to load all the TPC-$WHATEVER tables.
@pytest.mark.timeout(60, func_only=True)
@pytest.mark.usefixtures("backend")
@pytest.mark.xdist_group(name)
@getattr(pytest.mark, name)
Expand Down

0 comments on commit 0ada4d0

Please sign in to comment.