Actions
Task #3346
closedMulticastUdpTransport: test suite improvement
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
Updated by Junxiao Shi about 9 years ago
- Blocks Task #3172: Refactor Face: completion added
Updated by Junxiao Shi about 9 years ago
- Related to Task #3307: UnicastUdpTransport: test suite improvement added
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.
Updated by Davide Pesavento about 9 years ago
- Subject changed from UnicastUdpTransport: test suite improvement to MulticastUdpTransport: test suite improvement
Updated by Eric Newberry about 9 years ago
- Status changed from New to In Progress
Updated by Davide Pesavento about 9 years ago
- Status changed from In Progress to Code review
- % Done changed from 0 to 80
Updated by Junxiao Shi almost 9 years ago
- Blocks deleted (Task #3172: Refactor Face: completion)
Updated by Junxiao Shi almost 9 years ago
Updated by Junxiao Shi almost 9 years ago
- Status changed from Code review to Closed
Actions