提交 70d678cf 编写于 作者: C chengxingzhen

xts-失败用例增加延时

Signed-off-by: Nchengxingzhen <chengxingzhen@huawei.com>
上级 ca43b2f8
// @ts-nocheck
/* /*
* Copyright (c) 2022 Huawei Device Co., Ltd. * Copyright (c) 2022 Huawei Device Co., Ltd.
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
...@@ -447,7 +446,7 @@ export default function lifecycleTest() { ...@@ -447,7 +446,7 @@ export default function lifecycleTest() {
console.log("------------Singlehap_LifeCycleTest_0500 END-------------"); console.log("------------Singlehap_LifeCycleTest_0500 END-------------");
done(); done();
}) })
}, 4500); }, 5000);
}); });
/* /*
...@@ -685,7 +684,7 @@ export default function lifecycleTest() { ...@@ -685,7 +684,7 @@ export default function lifecycleTest() {
}).catch((error) => { }).catch((error) => {
console.error(TAG + ' start failed. Cause: ' + JSON.stringify(error)); console.error(TAG + ' start failed. Cause: ' + JSON.stringify(error));
}) })
}, 500); }, 1500);
setTimeout(function () { setTimeout(function () {
var str1 = { var str1 = {
"bundleName": "com.example.lifecycle_xts", "bundleName": "com.example.lifecycle_xts",
...@@ -759,7 +758,7 @@ export default function lifecycleTest() { ...@@ -759,7 +758,7 @@ export default function lifecycleTest() {
console.log("------------Singlehap_LifeCycleTest_0800 END-------------"); console.log("------------Singlehap_LifeCycleTest_0800 END-------------");
done(); done();
}); });
}, 4950); }, 5500);
}); });
/* /*
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册