From 919accbcb3285e674139743a1e180b3489152540 Mon Sep 17 00:00:00 2001 From: yygxr Date: Tue, 1 Nov 2022 18:22:30 -0700 Subject: [PATCH] fix xts case error for musl Signed-off-by: yygxr --- .../main/ets/MainAbility/test/CameraInputTest.test.ets | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/multimedia/camera/camera_js_standard/src/main/ets/MainAbility/test/CameraInputTest.test.ets b/multimedia/camera/camera_js_standard/src/main/ets/MainAbility/test/CameraInputTest.test.ets index 0ef5b28a6..c60ba54e3 100755 --- a/multimedia/camera/camera_js_standard/src/main/ets/MainAbility/test/CameraInputTest.test.ets +++ b/multimedia/camera/camera_js_standard/src/main/ets/MainAbility/test/CameraInputTest.test.ets @@ -135,7 +135,7 @@ export default function CameraInputTest(surfaceId) { console.info(TAG + "Entering getCameraSupportDevicesArray FAILED : " + err.message); } }) - await sleep(3000); + await sleep(300); */ if (isEmpty(mCameraDevicesArray)) { console.info(TAG + "getSupportedCameras FAILED"); @@ -412,7 +412,7 @@ export default function CameraInputTest(surfaceId) { await sleep(1); }) - await sleep(3000); + await sleep(300); if (nfyFlag == false) { //expect().assertFail(); @@ -469,7 +469,7 @@ export default function CameraInputTest(surfaceId) { mCameraSession.setFocusMode(cameraObj.FocusMode.FOCUS_MODE_AUTO); - await sleep(3000); + await sleep(300); if (nfyFlag == false) { //expect().assertFail(); @@ -526,7 +526,7 @@ export default function CameraInputTest(surfaceId) { mCameraSession.setExposureMode(cameraObj.ExposureMode.EXPOSURE_MODE_AUTO); - await sleep(3000); + await sleep(300); if (nfyFlag == false) { //expect().assertFail(); -- GitLab