Project

General

Profile

Actions

Task #3346

closed

MulticastUdpTransport: test suite improvement

Added by Junxiao Shi about 9 years ago. Updated almost 9 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Faces
Target version:
Start date:
Due date:
% Done:

100%

Estimated time:
3.00 h

Description

Improve MulticastUdpTransport test suite with new test cases:

  • static properties for non-local IP
  • send
  • receive normal
  • receive malformed
  • receive from multiple remote endpoints

Related issues 1 (0 open1 closed)

Related to NFD - Task #3307: UnicastUdpTransport: test suite improvementClosedEric Newberry

Actions
Actions #1

Updated by Junxiao Shi about 9 years ago

  • Blocks Task #3172: Refactor Face: completion added
Actions #2

Updated by Junxiao Shi about 9 years ago

  • Related to Task #3307: UnicastUdpTransport: test suite improvement added
Actions #3

Updated by Junxiao Shi about 9 years ago

  • Description updated (diff)

As suggested in #3306 note-10, IP_MULTICAST_LOOP socket option can be used in order to observe sent packets.

If feasible, send and receive test cases shall be separate.

In send test case, the MulticastUdpTransport is initialized normally, and another socket can join the multicast group at the destination port and set IP_MULTICAST_LOOP option to observe the packets.

In receive test case, the MulticastUdpTransport is initialized normally, and another socket can send to the multicast group, and also set IP_MULTICAST_LOOP option to cause the MulticastUdpTransport to receive the packets.

To receive from multiple remote endpoints, use different source port numbers.

Actions #4

Updated by Davide Pesavento about 9 years ago

  • Subject changed from UnicastUdpTransport: test suite improvement to MulticastUdpTransport: test suite improvement
Actions #5

Updated by Junxiao Shi almost 9 years ago

  • Assignee set to Eric Newberry
Actions #6

Updated by Eric Newberry almost 9 years ago

  • Status changed from New to In Progress
Actions #7

Updated by Davide Pesavento almost 9 years ago

  • Status changed from In Progress to Code review
  • % Done changed from 0 to 80
Actions #8

Updated by Junxiao Shi almost 9 years ago

  • Blocks deleted (Task #3172: Refactor Face: completion)
Actions #9

Updated by Junxiao Shi almost 9 years ago

As decided in #3172 note-17, the Change for this issue must not be merged until #3172 Change is merged.

Actions #10

Updated by Eric Newberry almost 9 years ago

  • % Done changed from 80 to 100
Actions #11

Updated by Junxiao Shi almost 9 years ago

  • Status changed from Code review to Closed
Actions

Also available in: Atom PDF