summaryrefslogtreecommitdiff
path: root/annotations/generate_annotated_java_files.py
diff options
context:
space:
mode:
authorNeil Fuller <nfuller@google.com>2018-01-15 10:16:52 +0000
committerNeil Fuller <nfuller@google.com>2018-01-15 15:05:38 +0000
commitacd3bea08043a3c0a4272f1584f9f5475c550bb2 (patch)
treef5a7dd2777bbec2879be2b4441d98eb1975bdfd2 /annotations/generate_annotated_java_files.py
parentf112528f226e010d9b257ce58898e1a7ceaf189b (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 'annotations/generate_annotated_java_files.py')
0 files changed, 0 insertions, 0 deletions