Skip to content

Commit

Permalink
Tests: Delay after app1->shutdown
Browse files Browse the repository at this point in the history
  • Loading branch information
MichelSantos committed Nov 24, 2019
1 parent 70500fd commit ce0cf81
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions tests/cli/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -349,6 +349,8 @@ struct cli_fixture
#ifdef _WIN32
sockQuit();
#endif
// Intentional delay after app1->shutdown
std::cout << "cli_fixture destructor: Intentional delay" << std::endl;
}
};

Expand Down Expand Up @@ -1007,6 +1009,8 @@ BOOST_AUTO_TEST_CASE( cli_multisig_transaction )
throw;
}
app1->shutdown();
// Intentional delay after app1->shutdown
std::cout << "cli_multisig_transaction conclusion: Intentional delay" << std::endl;
}

graphene::wallet::plain_keys decrypt_keys( const std::string& password, const vector<char>& cipher_keys )
Expand Down Expand Up @@ -1231,6 +1235,8 @@ BOOST_AUTO_TEST_CASE( cli_create_htlc )
throw;
}
app1->shutdown();
// Intentional delay after app1->shutdown
std::cout << "cli_create_htlc conclusion: Intentional delay" << std::endl;
}

static string encapsulate( const graphene::wallet::signed_message& msg )
Expand Down

0 comments on commit ce0cf81

Please sign in to comment.