From 0ada4d0f852eadd815180e87326bb759ed5c6347 Mon Sep 17 00:00:00 2001 From: Phillip Cloud <417981+cpcloud@users.noreply.github.com> Date: Wed, 31 Jul 2024 12:28:08 -0400 Subject: [PATCH] chore: set func_only=True to avoid counting the fixture cost towards the timeout --- ibis/backends/tests/tpc/conftest.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/ibis/backends/tests/tpc/conftest.py b/ibis/backends/tests/tpc/conftest.py index c27d10041b4c..b14bc973e546 100644 --- a/ibis/backends/tests/tpc/conftest.py +++ b/ibis/backends/tests/tpc/conftest.py @@ -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)