From 7dc7709be1b0c126bc9b1efef5acfbbe24f3d8a7 Mon Sep 17 00:00:00 2001 From: zhangyushuai Date: Thu, 3 Aug 2023 08:59:34 +0000 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96request=20Callback=E6=97=B6?= =?UTF-8?q?=E5=BA=8F=E9=97=AE=E9=A2=98=20001?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: zhangyushuai --- .../entry/src/main/ets/test/requestUpload001.test.ets | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/request/newRequestAuthorityTest/entry/src/main/ets/test/requestUpload001.test.ets b/request/newRequestAuthorityTest/entry/src/main/ets/test/requestUpload001.test.ets index 04a9aa499..58de9b307 100755 --- a/request/newRequestAuthorityTest/entry/src/main/ets/test/requestUpload001.test.ets +++ b/request/newRequestAuthorityTest/entry/src/main/ets/test/requestUpload001.test.ets @@ -569,7 +569,7 @@ export default function requestUploadOnetJSUnitTest() { arr.push(2); }); await task.start(); - await sleep(10); + await sleep(20); console.info("====>SUB_Misc_REQUEST_On_Upload_Progress_0030 task progress on arr: " + JSON.stringify(arr)); task.off('progress'); expect(arr.join()).assertEqual(arr1.join()); @@ -1115,7 +1115,7 @@ export default function requestUploadOnetJSUnitTest() { arr.push(2); }); await task.start(); - await sleep(10); + await sleep(20); task.off('failed'); console.info("====>SUB_Misc_REQUEST_On_Upload_Failed_0030 task progress on arr: " + JSON.stringify(arr)); expect(arr.join()).assertEqual(arr1.join()); -- GitLab