diff options
author | Thomas Markwalder <tmark@isc.org> | 2022-11-16 16:47:53 +0100 |
---|---|---|
committer | Thomas Markwalder <tmark@isc.org> | 2022-11-16 16:47:53 +0100 |
commit | 52c85e2328a878eda2e6ffc29195885f11c9a289 (patch) | |
tree | 4272076fbd3e0438cef3ce32396aae8a6333fd8a /src/lib/config/tests | |
parent | [#2635] Addressed cleanup comments and fixed UT (diff) | |
download | kea-52c85e2328a878eda2e6ffc29195885f11c9a289.tar.xz kea-52c85e2328a878eda2e6ffc29195885f11c9a289.zip |
[#2635] Fixed more clean up comments
Diffstat (limited to 'src/lib/config/tests')
-rw-r--r-- | src/lib/config/tests/cmd_http_listener_unittests.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/config/tests/cmd_http_listener_unittests.cc b/src/lib/config/tests/cmd_http_listener_unittests.cc index 854a471eea..0093980411 100644 --- a/src/lib/config/tests/cmd_http_listener_unittests.cc +++ b/src/lib/config/tests/cmd_http_listener_unittests.cc @@ -401,7 +401,7 @@ public: // Initiate the prescribed number of command requests. num_in_progress_ = 0; - for (auto i = 0; clients_.size() < num_clients; ++i) { + while (clients_.size() < num_clients) { ASSERT_NO_THROW_LOG(startThreadCommand()); } @@ -550,7 +550,7 @@ public: // Initiate the prescribed number of command requests. num_in_progress_ = 0; - for (auto i = 0; clients_.size() < num_clients; ++i) { + while (clients_.size() < num_clients) { ASSERT_NO_THROW_LOG(startThreadCommand()); } |