config+lsdb: Retry retrieve each LSA for `lsa-refresh-time`
This commit also includes extension of the config file
(`lsa-interest-lifetime` parameter in general section)
Change-Id: Ifd01af8cc98d41f7bdc953799a280e4b4269a358
Refs: #1873, #1874
diff --git a/tests/test-conf-parameter.cpp b/tests/test-conf-parameter.cpp
index 31cbf71..18eebdc 100644
--- a/tests/test-conf-parameter.cpp
+++ b/tests/test-conf-parameter.cpp
@@ -51,6 +51,8 @@
cp1.setLsaRefreshTime(1500);
+ cp1.setLsaInterestLifetime(ndn::time::seconds(1));
+
cp1.setRouterDeadInterval(10);
cp1.setMaxFacesPerPrefix(50);
@@ -79,6 +81,8 @@
BOOST_CHECK_EQUAL(cp1.getLsaRefreshTime(), 1500);
+ BOOST_CHECK_EQUAL(cp1.getLsaInterestLifetime(), ndn::time::seconds(1));
+
BOOST_CHECK_EQUAL(cp1.getRouterDeadInterval(), 10);
BOOST_CHECK_EQUAL(cp1.getMaxFacesPerPrefix(), 50);