From 953ded7679e1fdb8da3cb5e8e02b817713c29f4e Mon Sep 17 00:00:00 2001 From: Tomek Mrugalski Date: Fri, 8 Sep 2017 23:44:03 +0200 Subject: [PATCH] [5357] Stupid warning removed --- src/bin/dhcp4/tests/ctrl_dhcp4_srv_unittest.cc | 2 +- src/bin/dhcp6/tests/ctrl_dhcp6_srv_unittest.cc | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/bin/dhcp4/tests/ctrl_dhcp4_srv_unittest.cc b/src/bin/dhcp4/tests/ctrl_dhcp4_srv_unittest.cc index 8efddd0d32..19500b540f 100644 --- a/src/bin/dhcp4/tests/ctrl_dhcp4_srv_unittest.cc +++ b/src/bin/dhcp4/tests/ctrl_dhcp4_srv_unittest.cc @@ -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; } diff --git a/src/bin/dhcp6/tests/ctrl_dhcp6_srv_unittest.cc b/src/bin/dhcp6/tests/ctrl_dhcp6_srv_unittest.cc index a34a4a8572..9e24fdb249 100644 --- a/src/bin/dhcp6/tests/ctrl_dhcp6_srv_unittest.cc +++ b/src/bin/dhcp6/tests/ctrl_dhcp6_srv_unittest.cc @@ -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; }