BT: Make Bluetooth HCI VTS tests more stable

Extend to 600 ms sleep after BluetoothHci->close() to give HAL an ample
time to shutdown

Test: make, VtsHalBluetoothV1_0TargetTest
Bug: 176503623
Change-Id: If6d293167309b9dbcae94cf03199a6c95ecf9836
This commit is contained in:
More Kuo 2021-01-13 16:22:44 +08:00
parent 3772ded0bb
commit 001c4bf209

View file

@ -50,7 +50,7 @@ using ::android::hardware::bluetooth::V1_0::Status;
#define WAIT_FOR_HCI_EVENT_TIMEOUT std::chrono::milliseconds(2000)
#define WAIT_FOR_SCO_DATA_TIMEOUT std::chrono::milliseconds(1000)
#define WAIT_FOR_ACL_DATA_TIMEOUT std::chrono::milliseconds(1000)
#define INTERFACE_CLOSE_DELAY_MS std::chrono::milliseconds(200)
#define INTERFACE_CLOSE_DELAY_MS std::chrono::milliseconds(600)
#define COMMAND_HCI_SHOULD_BE_UNKNOWN \
{ 0xff, 0x3B, 0x08, 0x00, 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07 }