mirror of
https://github.com/monero-project/monero.git
synced 2024-12-14 20:36:31 +02:00
libwallet_api: tests: test fixed according implementation
This commit is contained in:
parent
a7882da2f6
commit
15c0882f4e
@ -973,7 +973,6 @@ TEST_F(WalletTest2, WalletCallbackNewBlock)
|
|||||||
wallet_listener->cv_newblock.wait_for(lock, wait_for);
|
wallet_listener->cv_newblock.wait_for(lock, wait_for);
|
||||||
std::cerr << "TEST: newblock lock acquired...\n";
|
std::cerr << "TEST: newblock lock acquired...\n";
|
||||||
ASSERT_TRUE(wallet_listener->newblock_triggered);
|
ASSERT_TRUE(wallet_listener->newblock_triggered);
|
||||||
ASSERT_TRUE(wallet_listener->update_triggered);
|
|
||||||
uint64_t bc2 = wallet_src->blockChainHeight();
|
uint64_t bc2 = wallet_src->blockChainHeight();
|
||||||
std::cout << "** Block height: " << bc2 << std::endl;
|
std::cout << "** Block height: " << bc2 << std::endl;
|
||||||
ASSERT_TRUE(bc2 > bc1);
|
ASSERT_TRUE(bc2 > bc1);
|
||||||
|
Loading…
Reference in New Issue
Block a user