From c17fd107c4477734b0e3dd7225ecdc9f8aee1405 Mon Sep 17 00:00:00 2001 From: Michel Santos Date: Sat, 23 Nov 2019 16:33:12 -0500 Subject: [PATCH] Tests: Delay after app1->shutdown --- tests/cli/main.cpp | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/tests/cli/main.cpp b/tests/cli/main.cpp index 9ef11e4295..ba42d2eb0b 100644 --- a/tests/cli/main.cpp +++ b/tests/cli/main.cpp @@ -1007,6 +1007,10 @@ BOOST_AUTO_TEST_CASE( cli_multisig_transaction ) throw; } app1->shutdown(); + app1.reset(); + // Intentional delay after app1->shutdown + std::cout << "cli_multisig_transaction conclusion: Intentional delay" << std::endl; + fc::usleep(fc::seconds(1)); } graphene::wallet::plain_keys decrypt_keys( const std::string& password, const vector& cipher_keys ) @@ -1231,6 +1235,10 @@ BOOST_AUTO_TEST_CASE( cli_create_htlc ) throw; } app1->shutdown(); + app1.reset(); + // Intentional delay after app1->shutdown + std::cout << "cli_create_htlc conclusion: Intentional delay" << std::endl; + fc::usleep(fc::seconds(1)); } static string encapsulate( const graphene::wallet::signed_message& msg )