提交 2e34da3d 编写于 作者: M mingxihua

IssueNo:#I4XB8A: 元能力适配新任务栈xts测试用例修改

Description: 元能力适配新任务栈xts测试用例修改
Sig:SIG_ApplicationFramework
Feature or Bugfix:Bugfix
Binary Source:No
Signed-off-by: Nmingxihua <mingxihua@huawei.com>
上级 2d3092ea
......@@ -41,8 +41,12 @@ describe('ActsAmsCallBackSixth Scene', function () {
});
function sleep(delay) {
var start = (new Date()).getTime();
while((new Date()).getTime() - start < delay) {}
var start = new Date().getTime();
while (true) {
if (new Date().getTime() - start > delay) {
break;
}
}
}
/*
......
......@@ -41,8 +41,12 @@ describe('ActsAmsCallBackSixth Scene', function () {
});
function sleep(delay) {
var start = (new Date()).getTime();
while((new Date()).getTime() - start < delay) {}
var start = new Date().getTime();
while (true) {
if (new Date().getTime() - start > delay) {
break;
}
}
}
/*
......
......@@ -22,20 +22,10 @@ import { describe, beforeAll, beforeEach, afterEach, afterAll, it, expect } from
describe('ActsMissionSnapshotTest', function () {
beforeAll(async (done) => {
console.debug('= ACTS_beforeAll ====<begin');
try {
} catch (err) {
console.error('=ACTS_beforeAll catch(err)====>:' + err);
}
console.debug('= ACTS_beforeAll ====<end');
done();
})
afterAll(async (done) => {
console.debug('= ACTS_afterAll ====<begin');
try {
} catch (err) {
console.error('=ACTS_afterAll catch(err)====>:' + err);
}
console.debug('= ACTS_afterAll ====<end');
done();
})
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册