Skip testRouterSolicitations on T- devices.
This does not lways pass on some devices before U. Now that the test is being added to MCTS, and needs to be backwards compatible, skip this test on T- devices. Test: atest CtsHostsideNetworkTests Change-Id: I2368f118d2539d70a97c937485f5179c47ba28d7
This commit is contained in:
parent
0820ccb033
commit
eca630007a
1 changed files with 3 additions and 2 deletions
|
|
@ -166,6 +166,8 @@ public class ProcNetTest extends BaseHostJUnit4Test implements IBuildReceiver, I
|
|||
*/
|
||||
@Test
|
||||
public void testRouterSolicitations() throws Exception {
|
||||
assumeTrue(new DeviceSdkLevel(mDevice).isDeviceAtLeastU());
|
||||
|
||||
for (String interfaceDir : mSysctlDirs) {
|
||||
String path = IPV6_SYSCTL_DIR + "/" + interfaceDir + "/" + "router_solicitations";
|
||||
int value = readIntFromPath(path);
|
||||
|
|
@ -186,8 +188,7 @@ public class ProcNetTest extends BaseHostJUnit4Test implements IBuildReceiver, I
|
|||
*/
|
||||
@Test
|
||||
public void testCongestionControl() throws Exception {
|
||||
final DeviceSdkLevel dsl = new DeviceSdkLevel(mDevice);
|
||||
assumeTrue(dsl.isDeviceAtLeastV());
|
||||
assumeTrue(new DeviceSdkLevel(mDevice).isDeviceAtLeastV());
|
||||
|
||||
String path = "/proc/sys/net/ipv4/tcp_congestion_control";
|
||||
String value = mDevice.executeAdbCommand("shell", "cat", path).trim();
|
||||
|
|
|
|||
Loading…
Reference in a new issue