|
Ran
|
Jobs
1
|
Files
518
|
Run time
2min
|
Badge
README BADGES
|
push
github
test: fix flakiness of the election + qsync stress test The source of flakiness of the test came from its sensitivity to the replication timeout, and, consequently, the leader death timeout: the leader could get re-elected while we were trying to send an insert request to the old leader — we would never notice the ER_READONLY error. To fix this, let's increase the replication timeout to 1 second (the default value), which seems to give enough stability. While we are here, port the test to luatest to simplify its maintenance with the following principal changes: 1. After a new leader gets elected, check the emptiness of his limbo rather than writing an asynchronous transaction. 2. After the old leader gets restarted, wait for cluster synchronization with him. Closes #10543 NO_CHANGELOG=<flaky test> NO_DOC=<flaky test> (cherry picked from commit d97ac05b8)
70432 of 124145 branches covered (56.73%)
103567 of 118359 relevant lines covered (87.5%)
2780740.65 hits per line
| Lines | Coverage | ∆ | File |
|---|---|---|---|
| 1 |
95.66 |
-0.12% | src/box/replication.cc |
| 1 |
93.55 |
-0.14% | src/box/txn_limbo.c |
| 1 |
96.55 |
-1.15% | src/lib/core/histogram.c |
| 1 |
91.68 |
-0.11% | src/lib/swim/swim.c |
| 1 |
22.64 |
-0.02% | src/lib/uri/uri_parser.c |
| 2 |
92.53 |
0.04% | src/box/vinyl.c |
| 2 |
93.87 |
0.03% | src/box/xrow_update_field.c |
| 2 |
84.53 |
-0.72% | src/lib/core/coio.c |
| 2 |
82.22 |
-4.44% | src/lib/core/latch.h |
| 2 |
95.45 |
-4.55% | src/lib/json/json.h |
| 2 |
97.15 |
-0.2% | src/lib/msgpuck/msgpuck.h |
| 3 |
94.15 |
-1.06% | src/box/vy_range.c |
| 3 |
91.0 |
-0.2% | src/box/vy_scheduler.c |
| 4 |
90.7 |
-0.3% | src/box/applier.cc |
| 16 |
90.92 |
-0.49% | src/box/box.cc |
| ID | Job ID | Ran | Files | Coverage | |
|---|---|---|---|---|---|
| 1 | 15211277901.1 | 518 |
87.5 |
GitHub Action Run |
| Coverage | ∆ | File | Lines | Relevant | Covered | Missed | Hits/Line | Branch Hits | Branch Misses |
|---|