Fix test
This commit is contained in:
parent
2b0c6648fd
commit
11256f117d
1 changed files with 2 additions and 2 deletions
|
|
@ -81,8 +81,8 @@ TEST (optimistic_scheduler, activate_many)
|
||||||
|
|
||||||
auto chains = nano::test::setup_chains (system, node, howmany_chains, howmany_blocks, nano::dev::genesis_key, /* do not confirm */ false);
|
auto chains = nano::test::setup_chains (system, node, howmany_chains, howmany_blocks, nano::dev::genesis_key, /* do not confirm */ false);
|
||||||
|
|
||||||
// Ensure all unconfirmed accounts head block gets activated
|
// Ensure all unconfirmed account head blocks get activated
|
||||||
ASSERT_TIMELY (5s, std::all_of (chains.begin (), chains.end (), [&] (auto const & entry) {
|
ASSERT_TIMELY (15s, std::all_of (chains.begin (), chains.end (), [&] (auto const & entry) {
|
||||||
auto const & [account, blocks] = entry;
|
auto const & [account, blocks] = entry;
|
||||||
auto const & block = blocks.back ();
|
auto const & block = blocks.back ();
|
||||||
auto election = node.active.election (block->qualified_root ());
|
auto election = node.active.election (block->qualified_root ());
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue