oncall-engine/engine/apps/integrations
Joey Orlando aca2804502
add pytest-xdist to speed up backend tests (#3839)
# What this PR does

Speeds up `pytest` test execution by ~30%.

More specifically, adds
[`pytest-xdist`](https://pytest-xdist.readthedocs.io/en/stable/), which
according to their docs:
> plugin extends pytest with new test execution modes, the most used
being distributing tests across multiple CPUs to speed up test execution

**Before**
<img width="270" alt="Screenshot 2024-02-05 at 15 53 13"
src="https://github.com/grafana/oncall/assets/9406895/4da33299-5bd0-4dc3-86e1-32cfdf9106f7">

**After**
<img width="254" alt="Screenshot 2024-02-05 at 15 53 04"
src="https://github.com/grafana/oncall/assets/9406895/a59eeb52-291d-4cdc-82b2-55fd31e1c1c5">
2024-02-05 16:04:15 -05:00
..
metadata Add alertmanager integration for heartbeat support (#2807) 2023-08-17 13:22:37 +00:00
mixins Handle a possible outdated cached integration error (#3741) 2024-01-23 20:46:12 +00:00
templates Polish amv2 (#2701) 2023-08-01 13:13:58 +08:00
tests add pytest-xdist to speed up backend tests (#3839) 2024-02-05 16:04:15 -05:00
__init__.py World, meet OnCall! 2022-06-03 08:09:47 -06:00
legacy_prefix.py AlertManager v2 (#2643) 2023-08-01 12:18:52 +08:00
middlewares.py Add middleware to catch exception for missing integration, reduce spamminess of logs 2022-10-13 17:18:22 -06:00
tasks.py remove manual alert group (/oncall) slack slash command + force_route_id (#3790) 2024-01-30 17:28:23 -05:00
urls.py AlertManager v2 (#2643) 2023-08-01 12:18:52 +08:00
views.py Fix missing timestamp value, add test (#3522) 2023-12-06 16:02:54 +00:00