File tree 3 files changed +9
-3
lines changed
3 files changed +9
-3
lines changed Original file line number Diff line number Diff line change @@ -150,8 +150,11 @@ class BaseCtrlChannelDhcpv4Test : public ::testing::Test {
150
150
TEST_TIMEOUT, IntervalTimer::ONE_SHOT);
151
151
// Run until the client stops the service or an error occurs.
152
152
try {
153
- io_service->run ();
153
+ io_service->run ();
154
+ } catch (const std::exception & ex) {
155
+ ADD_FAILURE () << " Exception thrown while running test. Error: " << ex.what ();
154
156
} catch (...) {
157
+ ADD_FAILURE () << " Unknown exception thrown while running test." ;
155
158
}
156
159
test_timer.cancel ();
157
160
if (io_service->stopped ()) {
Original file line number Diff line number Diff line change @@ -188,8 +188,11 @@ class BaseCtrlChannelDhcpv6Test : public HttpCtrlDhcpv6Test {
188
188
TEST_TIMEOUT, IntervalTimer::ONE_SHOT);
189
189
// Run until the client stops the service or an error occurs.
190
190
try {
191
- io_service->run ();
191
+ io_service->run ();
192
+ } catch (const std::exception & ex) {
193
+ ADD_FAILURE () << " Exception thrown while running test. Error: " << ex.what ();
192
194
} catch (...) {
195
+ ADD_FAILURE () << " Unknown exception thrown while running test." ;
193
196
}
194
197
test_timer.cancel ();
195
198
if (io_service->stopped ()) {
Original file line number Diff line number Diff line change @@ -71,7 +71,7 @@ class HttpConnectionPool {
71
71
std::mutex mutex_;
72
72
};
73
73
74
- // / @brief Pointer to the @ref HttpConnection .
74
+ // / @brief Pointer to the @ref HttpConnectionPool .
75
75
typedef std::shared_ptr<HttpConnectionPool> HttpConnectionPoolPtr;
76
76
77
77
}
You can’t perform that action at this time.
0 commit comments