diff --git a/test/transaction.cpp b/test/transaction.cpp index 6ebe62754..8c6db9412 100644 --- a/test/transaction.cpp +++ b/test/transaction.cpp @@ -115,7 +115,21 @@ BOOST_AUTO_TEST_CASE(ttWrongRLPTransaction) BOOST_AUTO_TEST_CASE(tt10mbDataField) { - dev::test::executeTests("tt10mbDataField", "/TransactionTests", dev::test::doTransactionTests); + for (int i = 1; i < boost::unit_test::framework::master_test_suite().argc; ++i) + { + string arg = boost::unit_test::framework::master_test_suite().argv[i]; + if (arg == "--bigdata" || arg == "--all") + { + auto start = chrono::steady_clock::now(); + + dev::test::executeTests("tt10mbDataField", "/TransactionTests", dev::test::doTransactionTests); + + auto end = chrono::steady_clock::now(); + auto duration(chrono::duration_cast(end - start)); + cnote << "test duration: " << duration.count() << " milliseconds.\n"; + } + } + } BOOST_AUTO_TEST_CASE(ttCreateTest)