fix cores: don't use promise in websocket when failure, use FC_CAPTURE_AND_LOG... #25
2 changed files with 6 additions and 6 deletions
|
|
@ -47,9 +47,9 @@ BOOST_AUTO_TEST_CASE(real128_test)
|
|||
|
||||
BOOST_CHECK_EQUAL( real128(uint64_t(-1)).to_uint64(), uint64_t(-1) );
|
||||
|
||||
wdump( (ten)(two)(twenty) );
|
||||
wdump((real128("12345.6789")) );
|
||||
wdump( (ten/3*3) );
|
||||
//wdump( (ten)(two)(twenty) );
|
||||
//wdump((real128("12345.6789")) );
|
||||
//wdump( (ten/3*3) );
|
||||
}
|
||||
|
||||
BOOST_AUTO_TEST_SUITE_END()
|
||||
|
|
|
|||
|
|
@ -51,12 +51,12 @@ BOOST_AUTO_TEST_CASE( nested_objects_test )
|
|||
|
||||
auto create_nested_object = []( uint32_t level )
|
||||
{
|
||||
ilog( "Creating nested object with ${lv} level(s)", ("lv",level) );
|
||||
//ilog( "Creating nested object with ${lv} level(s)", ("lv",level) );
|
||||
fc::test::item nested;
|
||||
for( uint32_t i = 1; i <= level; i++ )
|
||||
{
|
||||
if( i % 100 == 0 )
|
||||
ilog( "Creating level ${lv}", ("lv",i) );
|
||||
//if( i % 100 == 0 )
|
||||
// ilog( "Creating level ${lv}", ("lv",i) );
|
||||
fc::test::item_wrapper wp( std::move(nested) );
|
||||
nested = fc::test::item( std::move(wp), i );
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue