未验证 提交 02f45609 编写于 作者: O openharmony_ci 提交者: Gitee

!9043 modify and add taskpool xts

Merge pull request !9043 from buzhuyu/master
......@@ -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.
先完成此消息的编辑!
想要评论请 注册