Task #1717
Updated by Junxiao Shi over 10 years ago
Develop a [integration test](http://gerrit.named-data.net/#/admin/projects/NFD/integration-tests) for route expiration. ## Topology B---A---C Edges represent logical links (UDP tunnels). ## Steps 1. start NFD (including RIB Daemon) on A,B,C 2. add routes on A * ndn:/P , nexthop=hostB, expiration=10s * ndn:/P , nexthop=hostC, expiration=20s * ndn:/Q , nexthop=hostB, expiration=20s * ndn:/R , nexthop=hostC, expiration=10s * ndn:/S , nexthop=hostB, expiration=3600s 3. delay 5 seconds; run `nfd-status` on A Write some integration tests that can allow to inspect check the functionality of Task #1325(deletion of expired RIB and FIB Expected: * ndn:/P (hostB, hostC) * ndn:/Q (hostB) * ndn:/R (hostC) * ndn:/S (hostB) 4. delay 10 seconds; run `nfd-status` on A to inspect RIB and FIB Expected: * ndn:/P (hostC) * ndn:/Q (hostB) * ndn:/R : entry does not exist * ndn:/S (hostB) 5. delay 8 seconds; run `nfd-status` on A to inspect RIB and FIB Expected: * ndn:/P : entry does not exist * ndn:/Q : entry does not exist * ndn:/R : entry does not exist * ndn:/S (hostB) entries).