This task can be performed using FlakyTest
Fix flaky tests
Best product for this task

FlakyTest
dev-tools
The single place for Python teams to manage, monitor, and report on your test suite performance.
What to expect from an ideal product
- Centralizes Test Management
- Continuously Monitors Test Performance
- Generates Detailed Performance Reports
- Identifies Slow or Flaky Tests
- Provides Insights for Optimization