Project

General

Profile

Actions

Task #1386

closed

/localhop 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:
3.00 h

Description

Topology: A-B-C. All are NDN nodes.

Steps:

  1. Start NFD on A, B, and C. Setup routing entries:
    • On host A, ndn:/localhop goes to host B.
    • On host B, ndn:/localhop goes to host C.
  2. On host C, start ndn-traffic-server to serve ndn:/localhop/test-localhop/A and ndn:/localhop/test-localhop/B
  3. On host A, invoke ndn-tlv-peek to send an Interest ndn:/localhop/test-localhop/A/1. Fail if this Interest is answered.
  4. On host B, invoke ndn-tlv-peek to send an Interest ndn:/localhop/test-localhop/B/1. Fail if this Interest is not answered.
  5. On host C, stop ndn-traffic-server. Fail if the number of received Interest for ndn:/localhop/test-localhop/A traffic pattern does not equal zero.

Script is invoked on host A.
Script can assume integrated test suite is cloned to all hosts, necessary programs are installed and accessible in $PATH, current user can ssh to other hosts and has sudo privilege.

Actions #1

Updated by Junxiao Shi over 10 years ago

  • Description updated (diff)
  • Start date deleted (03/21/2014)
  • Estimated time set to 3.00 h
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

  • Status changed from In Progress to Code review
Actions #4

Updated by Junxiao Shi over 10 years ago

  • Description updated (diff)
  • Status changed from Code review to Feedback
  • % Done changed from 0 to 60

The previous spec is incomplete because it tests only a negative case, but does not test a positive case.

Actions #5

Updated by Yi Huang over 10 years ago

  • Status changed from Feedback to Closed
  • % Done changed from 60 to 100
Actions

Also available in: Atom PDF