diff options
author | Razvan Becheriu <razvan@isc.org> | 2024-03-27 10:44:03 +0100 |
---|---|---|
committer | Razvan Becheriu <razvan@isc.org> | 2024-04-04 07:26:51 +0200 |
commit | 3127326ff8f966e86210b58dd0ee5eef230f52a2 (patch) | |
tree | 84dc2cb3c5d2cfdea969c2f315cc52f1ed857da1 /src/bin/agent/tests/ca_command_mgr_unittests.cc | |
parent | [#3281] use shared_from_this (diff) | |
download | kea-3127326ff8f966e86210b58dd0ee5eef230f52a2.tar.xz kea-3127326ff8f966e86210b58dd0ee5eef230f52a2.zip |
[#3281] stop service just in case it was still running
Diffstat (limited to 'src/bin/agent/tests/ca_command_mgr_unittests.cc')
-rw-r--r-- | src/bin/agent/tests/ca_command_mgr_unittests.cc | 2 |
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(); |