summaryrefslogtreecommitdiffstats
path: root/src/bin/agent/tests/ca_command_mgr_unittests.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/bin/agent/tests/ca_command_mgr_unittests.cc')
-rw-r--r--src/bin/agent/tests/ca_command_mgr_unittests.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/bin/agent/tests/ca_command_mgr_unittests.cc b/src/bin/agent/tests/ca_command_mgr_unittests.cc
index 05ec8c7bc7..bd25e58cbf 100644
--- a/src/bin/agent/tests/ca_command_mgr_unittests.cc
+++ b/src/bin/agent/tests/ca_command_mgr_unittests.cc
@@ -248,6 +248,7 @@ public:
// We have some cancelled operations for which we need to invoke the
// handlers with the operation_aborted error code.
+ getIOService()->stop();
getIOService()->restart();
getIOService()->poll();
@@ -413,6 +414,7 @@ TEST_F(CtrlAgentCommandMgrTest, forwardListCommands) {
// We have some cancelled operations for which we need to invoke the
// handlers with the operation_aborted error code.
+ getIOService()->stop();
getIOService()->restart();
getIOService()->poll();