tree: 93c3b4776e7e31dc02ee1bbcc2976bbff97359c1 [path history] [tgz]
  1. __init__.py
  2. cs-freshness-test.sh
  3. NDNTrafficClient.conf
  4. NDNTrafficServer.conf
  5. README.md
  6. test_cs_freshness.py
test_cs_freshness/README.md

Topology: Single host.

Steps:

  1. Start NFD.
  2. Start ndn-traffic-server to serve ndn:/test-caching, FreshnessPeriod=2800ms
  3. Invoke ndnpeek to send Interest ndn:/test-caching/A, MustBeFresh=yes. Fail if this Interest is unanswered.
  4. Pause 1000ms.
  5. Invoke ndnpeek to send Interest ndn:/test-caching/A, MustBeFresh=yes. Fail if this Interest is unanswered.
  6. Kill ndn-traffic-server. Check "total Interests received" equals 1.
  7. Pause 2000ms.
  8. Invoke ndnpeek to send Interest ndn:/test-caching/A, MustBeFresh=yes. Fail if this Interest is answered with Data.
  9. Invoke ndnpeek to send Interest ndn:/test-caching/A without MustBeFresh. Fail if this Interest is unanswered.