remove debug noise from 2 gtests
This commit is contained in:
parent
b5e38edfda
commit
9ba20840e9
|
@ -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)
|
||||
|
|
|
@ -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++) {
|
||||
|
|
Loading…
Reference in New Issue