Task #1384
closedInterest aggregation test scenario
100%
Description
Topology: Single host.
Steps:
- Start NFD.
- Start ndn-traffic-server to serve
ndn:/test-agg
, with-d 2000
flag to delay response for 2000ms. - Start two instances of ndn-tlv-peek to request
ndn:/test-agg/A
. Wait until they terminate. Fail if either is unanswered. - Stop ndn-traffic-server. Fail if total served Interest does not equal 1.
- Start ndn-traffic-server to serve
ndn:/test-agg
, with-d 2000
flag to delay response for 2000ms. - Start ndn-tlv-peek to request
ndn:/test-agg/B
ChildSelector=leftmost, and another instance to requestndn:/test-agg/B
ChildSelector=rightmost. Wait until they terminate. Fail if either is unanswered. - Stop ndn-traffic-server. Fail if total served Interest does not equal 2.
- Start ndn-traffic-server to serve
ndn:/test-agg
, with-d 2000
flag to delay response for 2000ms. - Start ndn-tlv-peek to request
ndn:/test-agg/C
InterestLifetime=6000ms, and another instance to requestndn:/test-agg/C
InterestLifetime=8000ms. Wait until they terminate. Fail if either is unanswered. - 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.
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
Updated by Jerald Paul Abraham over 10 years ago
- Status changed from New to In Progress
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.
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
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
?
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).
Updated by Junxiao Shi over 10 years ago
When ChildSelector is omitted, it's implied as leftmost.
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.
Updated by Junxiao Shi over 10 years ago
"Omitted ChildSelector means leftmost" is a protocol requirement, not a library behavior.
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.
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.
Updated by Jerald Paul Abraham over 10 years ago
- Status changed from Code review to Closed
Updated by Junxiao Shi almost 10 years ago
- Related to Bug #2621: Interest aggregation scenario: broken due to retransmission suppression change added