src: Fix first event-interval scheduling
refs: #2615, #2593
Change-Id: I17da4d9acb83299a5666159fb988c1a97220eda8
diff --git a/tests/test-nlsr.cpp b/tests/test-nlsr.cpp
index 01480d9..ec53820 100644
--- a/tests/test-nlsr.cpp
+++ b/tests/test-nlsr.cpp
@@ -98,10 +98,10 @@
nlsr.initialize();
- const HelloProtocol& hello = nlsr.m_helloProtocol;
+ const Lsdb& lsdb = nlsr.getLsdb();
const RoutingTable& rt = nlsr.getRoutingTable();
- BOOST_CHECK_EQUAL(hello.getAdjLsaBuildInterval(), ndn::time::seconds(3));
+ BOOST_CHECK_EQUAL(lsdb.getAdjLsaBuildInterval(), ndn::time::seconds(3));
BOOST_CHECK_EQUAL(nlsr.getFirstHelloInterval(), 6);
BOOST_CHECK_EQUAL(rt.getRoutingCalcInterval(), ndn::time::seconds(9));
}