From d98b33adc8aaf10d0174d59e4065802c70a3413a Mon Sep 17 00:00:00 2001 From: Justin Newberry Date: Thu, 18 Jan 2024 19:19:49 -0500 Subject: [PATCH] replace pytest-timeouts with pytest-timeout (#31053) * one timeout * timeout * higher timeout for now * bump --- .github/workflows/selfdrive_tests.yaml | 2 +- poetry.lock | 17 +---------------- pyproject.toml | 1 - 3 files changed, 2 insertions(+), 18 deletions(-) diff --git a/.github/workflows/selfdrive_tests.yaml b/.github/workflows/selfdrive_tests.yaml index 78502d3799..b9e80e9f74 100644 --- a/.github/workflows/selfdrive_tests.yaml +++ b/.github/workflows/selfdrive_tests.yaml @@ -181,7 +181,7 @@ jobs: run: | ${{ env.RUN }} "source selfdrive/test/setup_xvfb.sh && \ export MAPBOX_TOKEN='pk.eyJ1Ijoiam5ld2IiLCJhIjoiY2xxNW8zZXprMGw1ZzJwbzZneHd2NHljbSJ9.gV7VPRfbXFetD-1OVF0XZg' && \ - $PYTEST --timeout 30 -m 'not slow' && \ + $PYTEST --timeout 40 -m 'not slow' && \ ./selfdrive/ui/tests/create_test_translations.sh && \ QT_QPA_PLATFORM=offscreen ./selfdrive/ui/tests/test_translations && \ ./selfdrive/ui/tests/test_translations.py" diff --git a/poetry.lock b/poetry.lock index a098703d62..41b677e5e0 100644 --- a/poetry.lock +++ b/poetry.lock @@ -3282,8 +3282,6 @@ files = [ {file = "pygame-2.5.2-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:0e24d05184e4195fe5ebcdce8b18ecb086f00182b9ae460a86682d312ce8d31f"}, {file = "pygame-2.5.2-cp311-cp311-win32.whl", hash = "sha256:f02c1c7505af18d426d355ac9872bd5c916b27f7b0fe224749930662bea47a50"}, {file = "pygame-2.5.2-cp311-cp311-win_amd64.whl", hash = "sha256:6d58c8cf937815d3b7cdc0fa9590c5129cb2c9658b72d00e8a4568dea2ff1d42"}, - {file = "pygame-2.5.2-cp312-cp312-macosx_10_9_x86_64.whl", hash = "sha256:1a2a43802bb5e89ce2b3b775744e78db4f9a201bf8d059b946c61722840ceea8"}, - {file = "pygame-2.5.2-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:1c289f2613c44fe70a1e40769de4a49c5ab5a29b9376f1692bb1a15c9c1c9bfa"}, {file = "pygame-2.5.2-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:074aa6c6e110c925f7f27f00c7733c6303407edc61d738882985091d1eb2ef17"}, {file = "pygame-2.5.2-cp312-cp312-manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:fe0228501ec616779a0b9c4299e837877783e18df294dd690b9ab0eed3d8aaab"}, {file = "pygame-2.5.2-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:31648d38ecdc2335ffc0e38fb18a84b3339730521505dac68514f83a1092e3f4"}, @@ -3699,19 +3697,6 @@ files = [ [package.dependencies] pytest = ">=5.0.0" -[[package]] -name = "pytest-timeouts" -version = "1.2.1" -description = "Linux-only Pytest plugin to control durations of various test case execution phases" -optional = false -python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*" -files = [ - {file = "pytest-timeouts-1.2.1.tar.gz", hash = "sha256:390351afc7ecb422ea0ec38081e0acd91cad416b383944a9a3358087de50c2fb"}, -] - -[package.dependencies] -pytest = ">=3.1" - [[package]] name = "pytest-xdist" version = "3.5.0" @@ -4886,4 +4871,4 @@ testing = ["big-O", "jaraco.functools", "jaraco.itertools", "more-itertools", "p [metadata] lock-version = "2.0" python-versions = "~3.11" -content-hash = "ad5e6e7b632c35edf6945774c6a4d0370177fd995c9b37efea68dd206a4ce1be" +content-hash = "1976ee7795d5ac5b257cac8dd83e408ae6e75c48d8c349e3e8e56519727cf52f" diff --git a/pyproject.toml b/pyproject.toml index b12a21a962..5641a55101 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -145,7 +145,6 @@ pytest-cpp = "*" pytest-subtests = "*" pytest-xdist = "*" pytest-timeout = "*" -pytest-timeouts = "*" pytest-randomly = "*" ruff = "*" sphinx = "*"