Closed kmichel-aiven closed 1 year ago
The tests were waiting a fixed amount of time for the web server thread and for PostgreSQL to start. This was too optimistic. Fix it by using an threading Event or polling the process startup instead.
Because flaky tests are unpleasant.
Merging #573 (b3e41f7) into main (6a29d01) will increase coverage by 0.60%. The diff coverage is 100.00%.
0.60%
100.00%
About this change - What it does
The tests were waiting a fixed amount of time for the web server thread and for PostgreSQL to start. This was too optimistic. Fix it by using an threading Event or polling the process startup instead.
Why this way
Because flaky tests are unpleasant.