Project

General

Profile

Bug #1393

Updated by Alex Afanasyev almost 10 years ago

Test cases in FaceEthernet test case suite assume that there is at least two interfaces and first two discovered interfaces can be used to create multicast face.    In some configurations this is not true and test case unnecessarily fails. 

 For example, Somehow, on my machine the following test case fails: started to fail 

     ../tests/face/ethernet.cpp:70: fatal error in "MulticastFacesMap": exception thrown by face2 = factory.createMulticastFace(m_interfaces.back(), ethernet::getBroadcastAddress()) 
 

 Somehow, the picked interface (I checked, it was bridge0) doesn't support DTL10B and this causes the problem.    I think in this test case we need to just try to create multiple multicast, but ignore all errors (since it is not an error during normal operations anyways). 

 I suspect other test cases in FaceEthernet suite could have the same problem, so in all of them we need to iterate over all available interfaces and try to create ethernetfaces on each.

Back