OSDN Git Service

Skip LE Security test
authorHansong Zhang <hsz@google.com>
Thu, 28 Jan 2021 22:15:18 +0000 (14:15 -0800)
committerHansong Zhang <hsz@google.com>
Thu, 28 Jan 2021 22:43:37 +0000 (22:43 +0000)
Test: cert/run
Bug: 178541388
Tag: #stability
Change-Id: I13f23d5b88d749608d833baa3378e3d0eddb4e82

gd/security/cert/le_security_test.py

index 3b041d8..7a0719b 100644 (file)
@@ -48,6 +48,8 @@ import time
 from bluetooth_packets_python3.hci_packets import OpCode
 from bluetooth_packets_python3.security_packets import PairingFailedReason
 
+from mobly import asserts
+
 LeIoCapabilities = LeIoCapabilityMessage.LeIoCapabilities
 LeOobDataFlag = LeOobDataPresentMessage.LeOobDataFlag
 
@@ -93,6 +95,8 @@ class LeSecurityTest(GdBaseTestClass):
             address_with_type=self.cert_address)
         self.cert.security.SetLeInitiatorAddressPolicy(cert_privacy_policy)
 
+        asserts.skip("Unhandled race condition - Flaky test")
+
     def teardown_test(self):
         self.dut_hci.close()
         self.dut_security.close()