tree: 729c50c20d4cfd57c2407ff8da8f9942d7f885b6 [path history] [tgz]
  1. __init__.py
  2. README.md
  3. test-traffic-server.conf
  4. test_interest_aggregation.py
test_interest_aggregation/README.md

Test Case - interest-aggregation

Objective

To test NFD's interest aggregation on a single host.

Description

This test case will run NFD, ndnpeek and ndn-traffic-server to check aggregation of interests by NFD. The following steps will be followed:

  1. Start NFD.
  2. Start ndn-traffic-server to serve ndn:/test-agg, with -d 2000 flag to delay response for 2000ms.
  3. Start two instances of ndnpeek to request ndn:/test-agg/A. Wait until they terminate. Fail if either is unanswered.
  4. Stop ndn-traffic-server. Fail if total served Interest does not equal 1.
  5. Start ndn-traffic-server to serve ndn:/test-agg, with -d 2000 flag to delay response for 2000ms.
  6. Start ndnpeek to request ndn:/test-agg/B ChildSelector=leftmost, and another instance to request ndn:/test-agg/B ChildSelector=rightmost. Wait until they terminate. Fail if either is unanswered.
  7. Stop ndn-traffic-server. Fail if total served Interest does not equal 2.
  8. Start ndn-traffic-server to serve ndn:/test-agg, with -d 2000 flag to delay response for 2000ms.
  9. Start ndnpeek to request ndn:/test-agg/C InterestLifetime=6000ms, and another instance to request ndn:/test-agg/C InterestLifetime=8000ms. Wait until they terminate. Fail if either is unanswered.
  10. Stop ndn-traffic-server. Fail if total served Interest does not equal 1.