Skip to content

WIP: tests: functional: Fix flaky tests

Re-introduce explicit wait in functional tests to reduce flakiness of the tests. Functional tests were failing more frequently on slower machines.

So far I have only optimized gitweb functional tests.

Tests performed:

  • All the gitweb tests pass.
  • Gitweb test run times don't depend on amount of configured explicit wait times, tested with times 0.01s, 2s and 10s configured in plinth/conftest.py - tests took about 220s in all cases.
  • All the Users module tests pass.
Edited by Veiko Aasa

Merge request reports

Loading