]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[5357] Stupid warning removed
authorTomek Mrugalski <tomasz@isc.org>
Fri, 8 Sep 2017 21:44:03 +0000 (23:44 +0200)
committerTomek Mrugalski <tomasz@isc.org>
Fri, 8 Sep 2017 21:44:03 +0000 (23:44 +0200)
src/bin/dhcp4/tests/ctrl_dhcp4_srv_unittest.cc
src/bin/dhcp6/tests/ctrl_dhcp6_srv_unittest.cc

index 8efddd0d3272404c8f6c73d58ab4c75e25d7c4a0..19500b540f89828e6d8aea686e7f838df46456a8 100644 (file)
@@ -1328,7 +1328,7 @@ TEST_F(CtrlChannelDhcpv4SrvTest, longResponse) {
         while (response.tellp() < long_response_size) {
             std::string partial;
             const unsigned int timeout = 5;
-            ASSERT_TRUE(client->getResponse(partial, 5));
+            ASSERT_TRUE(client->getResponse(partial, timeout));
             response << partial;
         }
 
index a34a4a85721014d660629ad070ef2cbf3cb4ac09..9e24fdb24932d488e2ecefdc329ce38a4ee0870a 100644 (file)
@@ -1349,7 +1349,7 @@ TEST_F(CtrlChannelDhcpv6SrvTest, longResponse) {
         while (response.tellp() < long_response_size) {
             std::string partial;
             const unsigned int timeout = 5;
-            ASSERT_TRUE(client->getResponse(partial, 5));
+            ASSERT_TRUE(client->getResponse(partial, timeout));
             response << partial;
         }