提交 b84494b7 编写于 作者: B buzhuyu

modify and add taskpool xts

description:
1.modify taskpool.cancel xts test
2.add taskGroup xts test
3.add setTransferList xts test

issue:https://gitee.com/openharmony/xts_acts/issues/I7F07TSigned-off-by: Nbuzhuyu <buzhuyu@huawei.com>
上级 cb8a2d62
......@@ -2146,7 +2146,7 @@ describe('threadWorkerTest', function () {
let ss = new worker.ThreadWorker("entry/ets/workers/newworker_016.js");
let array = []
for (let i = 0; i < 10; i++) {
array[i] = CreateArray(i, 62);
array[i] = CreateArray(i, 65);
}
let res = 0;
......@@ -2172,7 +2172,7 @@ describe('threadWorkerTest', function () {
while (!isTerminate) {
await promiseCase();
}
expect(res).assertEqual(620)
expect(res).assertEqual(650)
done();
})
......
......@@ -1446,7 +1446,7 @@ describe('WorkerTest', function () {
let ss = new worker.Worker("entry/ets/workers/worker_016.js");
let array = []
for (let i = 0; i < 10; i++) {
array[i] = CreateArray(i, 62);
array[i] = CreateArray(i, 65);
}
let res = 0;
......@@ -1472,7 +1472,7 @@ describe('WorkerTest', function () {
while (!isTerminate) {
await promiseCase();
}
expect(res).assertEqual(620)
expect(res).assertEqual(650)
done();
})
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册