提交 e9f5ad01 编写于 作者: H hanyaru

解决wukong测试套un的问题

Signed-off-by: Nhanyaru <hanyaru@h-partners.com>
上级 a0f11ebe
...@@ -61,7 +61,7 @@ export default function abilityTest() { ...@@ -61,7 +61,7 @@ export default function abilityTest() {
console.log('ACTS_wukongTest executeShellCommand : stdResult : ' + d.stdResult); console.log('ACTS_wukongTest executeShellCommand : stdResult : ' + d.stdResult);
console.log('ACTS_wukongTest executeShellCommand : exitCode : ' + d.exitCode); console.log('ACTS_wukongTest executeShellCommand : exitCode : ' + d.exitCode);
}); });
await sleep(20000); await sleep(5000);
abilityDelegator1.executeShellCommand("ps -ef|grep 'wukong exec -T 0.5'|grep -c -v grep ",async (error: any, date: any) => { abilityDelegator1.executeShellCommand("ps -ef|grep 'wukong exec -T 0.5'|grep -c -v grep ",async (error: any, date: any) => {
console.log('ACTS_wukongTest cmdPs executeShellCommand : err : ' + JSON.stringify(error)); console.log('ACTS_wukongTest cmdPs executeShellCommand : err : ' + JSON.stringify(error));
console.log('ACTS_wukongTest cmdPs executeShellCommand : stdResult : ' + date.stdResult); console.log('ACTS_wukongTest cmdPs executeShellCommand : stdResult : ' + date.stdResult);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册