Project

General

Profile

Actions

Task #1383

closed

ContentStore caching and freshness test scenario

Added by Yi Huang over 10 years ago. Updated over 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 #1

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)
Actions #2

Updated by Yi Huang over 10 years ago

  • Status changed from New to In Progress
  • Assignee set to Yi Huang
Actions #3

Updated by Yi Huang over 10 years ago

Manual test passed. Writing bash script to automate the test.

Actions #4

Updated by Yi Huang over 10 years ago

  • Status changed from In Progress to Resolved

Script works.

Actions #5

Updated by Yi Huang over 10 years ago

  • % Done changed from 0 to 100
Actions #6

Updated by Yi Huang over 10 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF