check if multiple SONs on one node are allowed
This commit is contained in:
parent
e2b266eb08
commit
dfeac59e32
1 changed files with 4 additions and 0 deletions
|
|
@ -12,6 +12,8 @@ using namespace graphene::peerplays_sidechain;
|
||||||
|
|
||||||
BOOST_FIXTURE_TEST_SUITE( plugin, son_fixture )
|
BOOST_FIXTURE_TEST_SUITE( plugin, son_fixture )
|
||||||
|
|
||||||
|
#ifdef SUPPORT_MULTIPLE_SONS
|
||||||
|
|
||||||
BOOST_AUTO_TEST_CASE(init)
|
BOOST_AUTO_TEST_CASE(init)
|
||||||
{
|
{
|
||||||
generate_blocks(HARDFORK_SON_TIME + 1);
|
generate_blocks(HARDFORK_SON_TIME + 1);
|
||||||
|
|
@ -69,4 +71,6 @@ BOOST_AUTO_TEST_CASE(init)
|
||||||
BOOST_CHECK_NO_THROW(plugin.plugin_shutdown());
|
BOOST_CHECK_NO_THROW(plugin.plugin_shutdown());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#endif // #ifdef SUPPORT_MULTIPLE_SONS
|
||||||
|
|
||||||
BOOST_AUTO_TEST_SUITE_END()
|
BOOST_AUTO_TEST_SUITE_END()
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue