diff options
author | Neil Fuller <nfuller@google.com> | 2018-01-15 10:16:52 +0000 |
---|---|---|
committer | Neil Fuller <nfuller@google.com> | 2018-01-15 15:05:38 +0000 |
commit | acd3bea08043a3c0a4272f1584f9f5475c550bb2 (patch) | |
tree | f5a7dd2777bbec2879be2b4441d98eb1975bdfd2 /include/ScopedJavaUnicodeString.h | |
parent | f112528f226e010d9b257ce58898e1a7ceaf189b (diff) |
Add additional checks to multicast tests
MulticastSocketTest and DatagramChannelMulticastTest have identical
requirements for picking network interfaces but the logic was
slightly different. This commit brings them into line.
Also, Nougat used to check the IFF_RUNNING flag in
NetworkInterface.isUp() as well as IFF_UP, but this stopped in Oreo.
The IFF_RUNNING flag check is added explicitly in the tests here since
the tests cannot work over an interace that is not "running" either.
See issue 71977275 for the bug that considers altering isUp() behavior.
Bug: 71977275
Bug: 65037707
Test: CTS: run cts -m CtsLibcoreTestCases -t org.apache.harmony.tests.java.net.MulticastSocketTest
Test: CTS: run cts -m CtsLibcoreTestCases -t libcore.java.nio.channels.DatagramChannelMulticastTest
Merged-In: I227a436ff19f2c235d2a3e567fcfc55c909b47fd
Change-Id: I227a436ff19f2c235d2a3e567fcfc55c909b47fd
(cherry picked from commit b9de38da5633c5e87201d9a6dbe56e100f206966)
Diffstat (limited to 'include/ScopedJavaUnicodeString.h')
0 files changed, 0 insertions, 0 deletions