summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGirish Moturu <gmoturu@google.com>2020-04-23 19:05:03 -0700
committerGirish Moturu <gmoturu@google.com>2020-04-23 19:05:03 -0700
commit971c803a1b0e40c8cd0239294981489169cd2fdd (patch)
tree2a946bb2ed26c7c591ab44a096b952768e8d80f3
parentf95be9a3aa8e2d953755698df081152dae172564 (diff)
downloadplatform_tools_test_connectivity-971c803a1b0e40c8cd0239294981489169cd2fdd.tar.gz
platform_tools_test_connectivity-971c803a1b0e40c8cd0239294981489169cd2fdd.tar.bz2
platform_tools_test_connectivity-971c803a1b0e40c8cd0239294981489169cd2fdd.zip
[NonConcurrencyTest] Disable softap then aware test
Bug: 154719229 Test: None Change-Id: Ifc8038934033ac48dd60eb3e87840e6d2f4da8e8
-rw-r--r--acts/framework/acts/test_utils/wifi/aware/AwareBaseTest.py3
-rw-r--r--acts/tests/google/wifi/aware/functional/NonConcurrencyTest.py8
2 files changed, 10 insertions, 1 deletions
diff --git a/acts/framework/acts/test_utils/wifi/aware/AwareBaseTest.py b/acts/framework/acts/test_utils/wifi/aware/AwareBaseTest.py
index d7f6ba88fc..ed85f5b754 100644
--- a/acts/framework/acts/test_utils/wifi/aware/AwareBaseTest.py
+++ b/acts/framework/acts/test_utils/wifi/aware/AwareBaseTest.py
@@ -32,7 +32,8 @@ class AwareBaseTest(BaseTestClass):
device_startup_offset = 2
def setup_test(self):
- required_params = ("aware_default_power_mode", )
+ required_params = ("aware_default_power_mode",
+ "dbs_supported_models",)
self.unpack_userparams(required_params)
for ad in self.android_devices:
diff --git a/acts/tests/google/wifi/aware/functional/NonConcurrencyTest.py b/acts/tests/google/wifi/aware/functional/NonConcurrencyTest.py
index 4f40509e6a..584d5aa148 100644
--- a/acts/tests/google/wifi/aware/functional/NonConcurrencyTest.py
+++ b/acts/tests/google/wifi/aware/functional/NonConcurrencyTest.py
@@ -17,6 +17,7 @@
from acts import asserts
import queue
from acts import utils
+from acts.test_decorators import test_tracker_info
from acts.test_utils.wifi import wifi_test_utils as wutils
from acts.test_utils.wifi import wifi_constants as wconsts
from acts.test_utils.wifi.aware import aware_const as aconsts
@@ -173,23 +174,30 @@ class NonConcurrencyTest(AwareBaseTest):
##########################################################################
+ @test_tracker_info(uuid="b7c84cbe-d744-440a-9279-a0133e88e8cb")
def test_run_p2p_then_aware(self):
"""Validate that if p2p is already up then any Aware operation fails"""
self.run_incompat_service_then_aware(is_p2p=True)
+ @test_tracker_info(uuid="1e7b3a6d-575d-4911-80bb-6fcf1157ee9f")
def test_run_aware_then_p2p(self):
"""Validate that a running Aware session terminates when p2p is started"""
self.run_aware_then_incompat_service(is_p2p=True)
+ @test_tracker_info(uuid="82a0bd98-3022-4831-ac9e-d81f58c742d2")
def test_run_softap_then_aware(self):
"""Validate that if SoftAp is already up then any Aware operation fails"""
+ asserts.skip_if(self.dut.model not in self.dbs_supported_models,
+ "Device %s doesn't support STA+AP." % self.dut.model)
self.run_incompat_service_then_aware(is_p2p=False)
+ @test_tracker_info(uuid="0da7661e-8ac2-4f68-b6d3-b3f612369d03")
def test_run_aware_then_softap(self):
"""Validate that a running Aware session terminates when softAp is
started"""
self.run_aware_then_incompat_service(is_p2p=False)
+ @test_tracker_info(uuid="2ac27ac6-8010-4d05-b892-00242420b075")
def test_run_aware_then_connect_new_ap(self):
"""Validate connect new ap during Aware session"""
self.run_aware_then_connect_to_new_ap()