<#8659 test: Stop using `pytest-rerunfailures` and...
# meltano-repo-activity
g
#8659 test: Stop using
pytest-rerunfailures
and address
meltano el
and Snowplow tracker test flakiness
Pull request opened by edgarrmondragon Description Turns out
pytest-rerunfailures
has some incompatibilities with class-level fixtures:
Compatibility
• This plugin may not be used with class, module, and package level fixtures.
• This plugin is not compatible with pytest-xdist’s –looponfail flag.
• This plugin is not compatible with the core –pdb flag.
• This plugin is not compatible with the pluginflaky, you can only havepytest-rerunfailures or flaky but not both.
• Make
TestCliEltScratchpadOne.test_elt_debug_logging
more robust instead of retrying • Don't retry
TestTracker.test_timeout_if_endpoint_unavailable
. I haven't identified the source of flakiness but at least getting rid of the retry decorator will stop causing unrelated errors and we can address the true flakiness when the error appears in the future again. Related Issues • Closes #6827 meltano/meltano GitHub Actions: Pytest on py3.12 (OS: ubuntu-latest, DB: postgresql_psycopg3) GitHub Actions: Pytest on py3.12 (OS: windows-2022, DB: sqlite) GitHub Actions: Pytest on py3.11 (OS: windows-2022, DB: sqlite) GitHub Actions: Pytest on py3.10 (OS: windows-2022, DB: sqlite) GitHub Actions: Pytest on py3.9 (OS: windows-2022, DB: sqlite) GitHub Actions: Pytest on py3.8 (OS: windows-2022, DB: sqlite) GitHub Actions: Pytest on py3.12 (OS: ubuntu-latest, DB: mssql) GitHub Actions: Pytest on py3.11 (OS: ubuntu-latest, DB: mssql) GitHub Actions: Pytest on py3.10 (OS: ubuntu-latest, DB: mssql) GitHub Actions: Pytest on py3.9 (OS: ubuntu-latest, DB: mssql) GitHub Actions: Pytest on py3.8 (OS: ubuntu-latest, DB: mssql) GitHub Actions: Pytest on py3.12 (OS: ubuntu-latest, DB: postgresql) ✅ 18 other checks have passed 18/30 successful checks