OpenSlides / OpenSlides/openslides-backend

Flaky tests

Open
#3,569 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

tests
Dominant language
Python
Stars
9
Forks
40
Avg merge
1d 22h
Merged PRs (30d)
19

Description

Recently CIs have often not completed due to failing tests. It seems some tests are flaky.
For now there's just one I've seen in action, however further tests may be added as they are found.

It may be a good idea to look at similarly constructed tests.

  • test_pause.py::TestSpeakerPause::test_pause_update_countdown
  • test_tree_sort_mixin.py::TestTreeSortMixin::test_sort_and_create_at_once

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by running test_pause.py::TestSpeakerPause::test_pause_update_countdown and test_tree_sort_mixin.py::TestTreeSortMixin::test_sort_and_create_at_once, then inspect similarly constructed tests for shared patterns. Done means identifying the source of the intermittent failures and making the affected tests reliable, with coverage for any additional flaky cases found.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
testing-qa
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.