未验证 提交 9d809a17 编写于 作者: O openharmony_ci 提交者: Gitee

!6764 【bluetooth】【monthly1018用例优化】解决用例crash问题

Merge pull request !6764 from 权力/cherry-pick-1669863049
...@@ -125,6 +125,7 @@ describe('bluetoothBLETest', function() { ...@@ -125,6 +125,7 @@ describe('bluetoothBLETest', function() {
console.info('[bluetooth_js] gattClient connect' + ret) console.info('[bluetooth_js] gattClient connect' + ret)
expect(ret).assertTrue(); expect(ret).assertTrue();
gattClient.disconnect(); gattClient.disconnect();
await sleep(2000);
await gattClient.off("BLEConnectionStateChange"); await gattClient.off("BLEConnectionStateChange");
done() done()
}) })
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册