Consumer: react fast on sync Interest timeout
refs: #5124
Change-Id: Ic28cd6d10e59645c2a209c5efc446ef28b600462
diff --git a/tests/test-consumer.cpp b/tests/test-consumer.cpp
index 4811ebe..269124d 100644
--- a/tests/test-consumer.cpp
+++ b/tests/test-consumer.cpp
@@ -66,14 +66,14 @@
ndn::time::milliseconds(4000));
consumer.sendHelloInterest();
- advanceClocks(ndn::time::milliseconds(4000));
+ advanceClocks(4_s);
BOOST_CHECK_EQUAL(face.sentInterests.size(), 1);
face.sentInterests.clear();
consumer.stop();
consumer.m_iblt = ndn::Name("test");
consumer.sendSyncInterest();
- advanceClocks(ndn::time::milliseconds(4000));
+ advanceClocks(3999_ms);
BOOST_CHECK_EQUAL(face.sentInterests.size(), 1);
consumer.stop();
}