Actions
Task #1383
closedContentStore caching and freshness test scenario
Description
Topology: Single host.
Steps:
- Start NFD.
- Start ndn-traffic-server to serve
ndn:/test-caching
, FreshnessPeriod=2800ms - Invoke ndn-tlv-peek to send Interest
ndn:/test-caching/A
, MustBeFresh=yes. Fail if this Interest is unanswered. - Pause 1000ms.
- Invoke ndn-tlv-peek to send Interest
ndn:/test-caching/A
, MustBeFresh=yes. Fail if this Interest is unanswered. - Kill ndn-traffic-server. Check "total Interests received" equals 1.
- Pause 2000ms.
- Invoke ndn-tlv-peek to send Interest
ndn:/test-caching/A
, MustBeFresh=yes. Fail if this Interest is answered. - 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.
Updated by Junxiao Shi over 10 years ago
- Subject changed from Content Store test scenario to ContentStore caching and freshness test scenario
- Description updated (diff)
- Start date deleted (
03/21/2014)
Updated by Yi Huang over 10 years ago
- Status changed from New to In Progress
- Assignee set to Yi Huang
Updated by Yi Huang over 10 years ago
Manual test passed. Writing bash script to automate the test.
Actions