mirror of
https://github.com/monero-project/monero.git
synced 2025-05-04 18:34:59 -04:00
Revert "Print stack trace upon exceptions"
Ain't nobody got time for link/cmake skullduggery.
This reverts commit fff238ec94
.
This commit is contained in:
parent
37fbb7a8b7
commit
f7301c3563
43 changed files with 63 additions and 259 deletions
|
@ -104,7 +104,7 @@ TEST(boosted_tcp_server, worker_threads_are_exception_resistant)
|
|||
|
||||
// 2 theads, but 4 exceptions
|
||||
ASSERT_TRUE(srv.run_server(2, false));
|
||||
ASSERT_TRUE(srv.async_call([&counter_incrementer]() { counter_incrementer(); throw tools::runtime_error("test 1"); }));
|
||||
ASSERT_TRUE(srv.async_call([&counter_incrementer]() { counter_incrementer(); throw std::runtime_error("test 1"); }));
|
||||
ASSERT_TRUE(srv.async_call([&counter_incrementer]() { counter_incrementer(); throw std::string("test 2"); }));
|
||||
ASSERT_TRUE(srv.async_call([&counter_incrementer]() { counter_incrementer(); throw "test 3"; }));
|
||||
ASSERT_TRUE(srv.async_call([&counter_incrementer]() { counter_incrementer(); throw 4; }));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue