Project

General

Profile

Task #1384

Interest aggregation test scenario

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

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

Actions
#1

Updated by Junxiao Shi over 7 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
#2

Updated by Beichuan Zhang over 7 years ago

  • Assignee set to Jerald Paul Abraham
#3

Updated by Jerald Paul Abraham over 7 years ago

  • Status changed from New to In Progress
#4

Updated by Jerald Paul Abraham over 7 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.

#5

Updated by Jerald Paul Abraham over 7 years ago

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

Automated Test Case Submitted For Code Review

#6

Updated by Junxiao Shi over 7 years ago

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

#7

Updated by Jerald Paul Abraham over 7 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).

#8

Updated by Junxiao Shi over 7 years ago

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

#9

Updated by Jerald Paul Abraham over 7 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.

#10

Updated by Junxiao Shi over 7 years ago

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

#11

Updated by Jerald Paul Abraham over 7 years ago

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

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

#12

Updated by Junxiao Shi over 7 years ago

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

#13

Updated by Jerald Paul Abraham over 7 years ago

  • Status changed from Code review to Closed
#14

Updated by Junxiao Shi over 6 years ago

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

Also available in: Atom PDF