Project

General

Profile

Actions

Task #1383

closed

ContentStore caching and freshness test scenario

Added by Yi Huang about 10 years ago. Updated about 10 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Integration Tests
Target version:
Start date:
Due date:
% Done:

100%

Estimated time:

Description

Topology: Single host.

Steps:

  1. Start NFD.
  2. Start ndn-traffic-server to serve ndn:/test-caching, FreshnessPeriod=2800ms
  3. Invoke ndn-tlv-peek to send Interest ndn:/test-caching/A, MustBeFresh=yes. Fail if this Interest is unanswered.
  4. Pause 1000ms.
  5. Invoke ndn-tlv-peek 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 ndn-tlv-peek to send Interest ndn:/test-caching/A, MustBeFresh=yes. Fail if this Interest is answered.
  9. Invoke ndn-tlv-peek to send Interest ndn:/test-caching/A without MustBeFresh. Fail if this Interest is unanswered.

Script can assume necessary programs are installed and accessible in $PATH.

Actions

Also available in: Atom PDF