clusterfuzz
clusterfuzz copied to clipboard
Deal with flaky tests
I'd say deploys fail at least 10% of the time because of flake. This is very annoying. Example:
AssertionError: 1 != 0
self.assertEqual(1, len(testcases))
File "/workspace/clusterfuzz/src/clusterfuzz/_internal/tests/core/bot/tasks/corpus_pruning_task_test.py", line 472, in test_prune
Traceback (most recent call last):
We should either:
- Fix these tests
- Delete them.
- Retry flaky tests.