Project

General

Profile

Actions

Task #1384

closed

Interest aggregation test scenario

Added by Yi Huang almost 11 years ago. Updated over 10 years ago.

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

100%

Estimated time:
3.00 h

Description

Topology: Single host.

Steps:

  1. Start NFD.
  2. Start ndn-traffic-server to serve ndn:/test-agg, with -d 2000 flag to delay response for 2000ms.
  3. Start two instances of ndn-tlv-peek to request ndn:/test-agg/A. Wait until they terminate. Fail if either is unanswered.
  4. Stop ndn-traffic-server. Fail if total served Interest does not equal 1.
  5. Start ndn-traffic-server to serve ndn:/test-agg, with -d 2000 flag to delay response for 2000ms.
  6. Start ndn-tlv-peek to request ndn:/test-agg/B ChildSelector=leftmost, and another instance to request ndn:/test-agg/B ChildSelector=rightmost. Wait until they terminate. Fail if either is unanswered.
  7. Stop ndn-traffic-server. Fail if total served Interest does not equal 2.
  8. Start ndn-traffic-server to serve ndn:/test-agg, with -d 2000 flag to delay response for 2000ms.
  9. Start ndn-tlv-peek to request ndn:/test-agg/C InterestLifetime=6000ms, and another instance to request ndn:/test-agg/C InterestLifetime=8000ms. Wait until they terminate. Fail if either is unanswered.
  10. Stop ndn-traffic-server. Fail if total served Interest does not equal 1.

Script can assume necessary programs are installed and accessible in $PATH, and current user has sudo privilege.


Related issues 1 (0 open1 closed)

Related to NFD - Bug #2621: Interest aggregation scenario: broken due to retransmission suppression changeClosedEric Newberry

Actions
Actions #1

Updated by Junxiao Shi over 10 years ago

  • Subject changed from PIT test scenario to Interest aggregation test scenario
  • Description updated (diff)
  • Start date deleted (03/21/2014)
  • Estimated time set to 3.00 h
Actions #2

Updated by Beichuan Zhang over 10 years ago

  • Assignee set to Jerald Paul Abraham
Actions #3

Updated by Jerald Paul Abraham over 10 years ago

  • Status changed from New to In Progress
Actions #4

Updated by Jerald Paul Abraham over 10 years ago

  • % Done changed from 0 to 90

Manual Testing Successful

Issue While Automating With ndn-tlv-peek. Trying to automate with ndn-traffic-client.

Actions #5

Updated by Jerald Paul Abraham over 10 years ago

  • Status changed from In Progress to Code review
  • % Done changed from 90 to 100

Automated Test Case Submitted For Code Review

Actions #6

Updated by Junxiao Shi over 10 years ago

What's wrong with automating with ndn-tlv-peek? Is there a bug in ndn-tlv-peek?

Actions #7

Updated by Jerald Paul Abraham over 10 years ago

No bugs in ndn-tlv-peek.

But it has no ability to specify ChildSelector=leftmost as required in step 6 (its requirement only mentioned rightmost child selection).

Actions #8

Updated by Junxiao Shi over 10 years ago

When ChildSelector is omitted, it's implied as leftmost.

Actions #9

Updated by Jerald Paul Abraham over 10 years ago

I would recommend that an application should never rely on a library's default behavior.

Please advice if you see any issues with using ndn-traffic.

Actions #10

Updated by Junxiao Shi over 10 years ago

"Omitted ChildSelector means leftmost" is a protocol requirement, not a library behavior.

Actions #11

Updated by Jerald Paul Abraham over 10 years ago

Oh my mistake. I wasn't sure of that.

I would prefer using ndn-traffic if that's ok.

Actions #12

Updated by Junxiao Shi over 10 years ago

Yes, using ndn-traffic-client is fine. It's equivalent to ndn-tlv-peek in this aspect.

Actions #13

Updated by Jerald Paul Abraham over 10 years ago

  • Status changed from Code review to Closed
Actions #14

Updated by Junxiao Shi almost 10 years ago

  • Related to Bug #2621: Interest aggregation scenario: broken due to retransmission suppression change added
Actions

Also available in: Atom PDF