Skip to content

Commit

Permalink
Produce minimum 2*21 blocks for active_and_vote_producers()
Browse files Browse the repository at this point in the history
  • Loading branch information
linh2931 committed Jun 13, 2024
1 parent 39249ae commit 877f89f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/eosio.system_tester.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -1333,7 +1333,7 @@ class eosio_system_tester : public validating_tester {
)
);
}
produce_blocks( 250 ); // cannot use `produce_block(fc::seconds(1000));` trick. msig tests can fail.
produce_blocks( 2 * 21 ); // This is minimum number of blocks required by ram_gift in system_tests

auto producer_schedule = control->active_producers();
BOOST_REQUIRE_EQUAL( 21, producer_schedule.producers.size() );
Expand Down

0 comments on commit 877f89f

Please sign in to comment.