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-nexthop.cpp b/tests/test-nexthop.cpp
index c0707cc..7c30069 100644
--- a/tests/test-nexthop.cpp
+++ b/tests/test-nexthop.cpp
@@ -35,10 +35,10 @@
np1.setConnectingFaceUri("udp://test/uri");
- np1.setRouteCost(10.5);
+ np1.setRouteCost(10.1);
BOOST_CHECK_EQUAL(np1.getConnectingFaceUri(), "udp://test/uri");
- BOOST_CHECK_CLOSE(np1.getRouteCost(), 10.5, 0.0001);
+ BOOST_CHECK_EQUAL(np1.getRouteCost(), 11);
}
BOOST_AUTO_TEST_SUITE_END()