[Thread] loose the restriction on the setEnabled API behavior
It's too strict that the device must rejoin the network after being enabled again. This probably don't work on mobile devices. remove the CTS case for now. Change-Id: I3a4511f4b2fddddf982206720bbb61f718bc8327
This commit is contained in:
parent
6a9eacca94
commit
504fe7d510
1 changed files with 0 additions and 11 deletions
|
|
@ -748,17 +748,6 @@ public class ThreadNetworkControllerTest {
|
|||
assertThat(getDeviceRole(mController)).isEqualTo(DEVICE_ROLE_STOPPED);
|
||||
}
|
||||
|
||||
@Test
|
||||
public void setEnabled_toggleAfterJoin_joinsThreadNetworkAgain() throws Exception {
|
||||
joinRandomizedDatasetAndWait(mController);
|
||||
|
||||
setEnabledAndWait(mController, false);
|
||||
assertThat(getDeviceRole(mController)).isEqualTo(DEVICE_ROLE_STOPPED);
|
||||
setEnabledAndWait(mController, true);
|
||||
|
||||
runAsShell(ACCESS_NETWORK_STATE, () -> waitForAttachedState(mController));
|
||||
}
|
||||
|
||||
@Test
|
||||
public void setEnabled_enableFollowedByDisable_allSucceed() throws Exception {
|
||||
joinRandomizedDatasetAndWait(mController);
|
||||
|
|
|
|||
Loading…
Reference in a new issue