Test Details Overview

Fix race condition between election creation and vote_cache triggering (#4610)

The vote_cache is triggered after an election is created, and specifically after the active_elections mutex is released, which causes a race condition when checking the votes in an election.

__________

Type: commit

Hash: 9cd662cc702ded070395f0c9610c75414bcbcaeb

Created: 12 day(s) ago

__________

gr0v1ty/nano-node:9cd662cc702ded070395f0c9610c75414bcbcaeb

Test Results

Test Case Status Duration Median Deviation Log Graph
5n4pr_conf_10k_bintree PASS 108 s -6.0 s - Show
5n4pr_conf_10k_change PASS 126 s -53.0 s - Show
5n4pr_conf_change_dependant PASS 143 s -8.0 s - -
5n4pr_conf_change_independant PASS 138 s -11.0 s - -
5n4pr_conf_send_dependant PASS 155 s 16.0 s - -
5n4pr_conf_send_independant FAIL 841 s 704.0 s Show -