commit | 14e71f0fe8478971da4003b1cd12f44a65450356 | [log] [tgz] |
---|---|---|
author | Davide Pesavento <davidepesa@gmail.com> | Thu Mar 28 17:35:25 2019 -0400 |
committer | Davide Pesavento <davidepesa@gmail.com> | Thu Mar 28 18:46:47 2019 -0400 |
tree | 034f39d364f4d7a604c888d40afd96b0ff27d795 | |
parent | c6a65ad55ec7195b0319fe4a956b9d1760f6c8f8 [diff] [blame] |
tests+tools: minor code cleanup Change-Id: Ic3356d4a18a8e5eeb45fc076fc0563c3d1549c8a
diff --git a/tests/daemon/face/multicast-udp-transport-fixture.hpp b/tests/daemon/face/multicast-udp-transport-fixture.hpp index 775b12d..626c37a 100644 --- a/tests/daemon/face/multicast-udp-transport-fixture.hpp +++ b/tests/daemon/face/multicast-udp-transport-fixture.hpp
@@ -98,14 +98,14 @@ } limitedIo.afterOp(); }); - BOOST_REQUIRE_EQUAL(limitedIo.run(1, time::seconds(1)), LimitedIo::EXCEED_OPS); + BOOST_REQUIRE_EQUAL(limitedIo.run(1, 1_s), LimitedIo::EXCEED_OPS); } void remoteWrite(const std::vector<uint8_t>& buf, bool needToCheck = true) { sendToGroup(remoteSockTx, buf, needToCheck); - limitedIo.defer(time::seconds(1)); + limitedIo.defer(1_s); } void