Hi team,
 
Thank you for fixing the flaky test 
 
QA LGTM
 
--
Vitaliia Ioffe
 
 
Понедельник, 9 августа 2021, 10:45 +03:00 от Cyrill Gorcunov via Tarantool-patches <tarantool-patches@dev.tarantool.org>:
 
On Mon, Aug 09, 2021 at 10:42:05AM +0300, Serge Petrenko wrote:
> Found the following error in our CI:
>
> [001] Test failed! Result content mismatch:
> [001] --- replication/gh-3055-election-promote.result Mon Aug 2 17:52:55 2021
> [001] +++ var/rejects/replication/gh-3055-election-promote.reject Mon Aug 9 10:29:34 2021
> [001] @@ -88,7 +88,7 @@
> [001] | ...
> [001] assert(not box.info.ro)
> [001] | ---
> [001] - | - true
> [001] + | - error: assertion failed!
> [001] | ...
> [001] assert(box.info.election.term > term)
> [001] | ---
> [001]
>
> The problem was the same as in recently fixed election_qsync.test
> (commit 096a0a7d5e2442656d228658f89f0c7066c60b16): PROMOTE is written to
> WAL asynchronously, and box.ctl.promote() returns earlier than this
> happens.

Ack.