Auto merge of #4356 - oxarbitrage:issue4286, r=str4d

remove debug noise from gtests

Closes #4286.
This commit is contained in:
Homu 2020-02-20 13:28:14 +00:00
commit d75fe844e3
2 changed files with 0 additions and 4 deletions

View File

@ -101,13 +101,11 @@ TEST(MempoolLimitTests, WeightedTxTreeCheckSizeAfterDropping)
boost::optional<uint256> drop = tree.maybeDropRandom();
ASSERT_TRUE(drop.is_initialized());
uint256 txid = drop.get();
std::cerr << "Trial " << trialNum++ << ": dropped " << txid.ToString() << std::endl;
testedDropping.insert(txid);
// Do not continue to test if a particular trial fails
ASSERT_EQ(8000, tree.getTotalWeight().cost);
ASSERT_EQ(txid == TX_ID3 ? 8000 : 8000 + LOW_FEE_PENALTY, tree.getTotalWeight().evictionWeight);
}
std::cerr << "All 3 scenarios tested in " << trialNum << " trials" << std::endl;
}
TEST(MempoolLimitTests, WeightedTxInfoFromTx)

View File

@ -99,8 +99,6 @@ TEST(paymentdisclosure, mainnet) {
boost::filesystem::create_directories(pathTemp);
mapArgs["-datadir"] = pathTemp.string();
std::cout << "Test payment disclosure database created in folder: " << pathTemp.string() << std::endl;
PaymentDisclosureDBTest mydb(pathTemp);
for (int i=0; i<NUM_TRIES; i++) {