Enable useSessionIdToScheduleMdnsTask
In case that the task is not canceled successfully, use session ID to check if this task should continue to schedule more. Bug: 285260665 Test: atest CtsNetTest FrameworksNetTests Change-Id: Ic953ae781449a7ebf943999c8c8d3040a97641d9
This commit is contained in:
@@ -379,9 +379,7 @@ public class MdnsServiceTypeClientTests {
|
||||
}
|
||||
|
||||
@Test
|
||||
@Ignore("MdnsConfigs is not configurable currently.")
|
||||
public void testIfPreviousTaskIsCanceledWhenNewSessionStarts() {
|
||||
//MdnsConfigsFlagsImpl.useSessionIdToScheduleMdnsTask.override(true);
|
||||
MdnsSearchOptions searchOptions =
|
||||
MdnsSearchOptions.newBuilder().addSubtype("12345").setIsPassiveMode(true).build();
|
||||
client.startSendAndReceive(mockListenerOne, searchOptions);
|
||||
|
||||
Reference in New Issue
Block a user