Fix unit test rpc.confirmation_info (remove scheduler flush) (#3735)
Removed the need for scheduler flush, which is broken.
This commit is contained in:
parent
e1c46c9e27
commit
ca3ec20ee8
1 changed files with 1 additions and 3 deletions
|
@ -6246,9 +6246,7 @@ TEST (rpc, confirmation_info)
|
|||
|
||||
auto send (std::make_shared<nano::send_block> (nano::dev::genesis->hash (), nano::public_key (), nano::dev::constants.genesis_amount - 100, nano::dev::genesis_key.prv, nano::dev::genesis_key.pub, *system.work.generate (nano::dev::genesis->hash ())));
|
||||
node1->process_active (send);
|
||||
node1->block_processor.flush ();
|
||||
node1->scheduler.flush ();
|
||||
ASSERT_FALSE (node1->active.empty ());
|
||||
ASSERT_TIMELY (5s, !node1->active.empty ());
|
||||
|
||||
boost::property_tree::ptree request;
|
||||
request.put ("action", "confirmation_info");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue