未验证 提交 0f1e2a0e 编写于 作者: O openharmony_ci 提交者: Gitee

!2483 测试套ActsUserauthTwoTest失败case修改

Merge pull request !2483 from 胡吉翔/cherry-pick-1647344421
...@@ -590,7 +590,7 @@ describe('userauthTest', function () { ...@@ -590,7 +590,7 @@ describe('userauthTest', function () {
}, function (onacquireinfo) { }, function (onacquireinfo) {
}) })
let cancelresult = publicFC.publicgecancelAuth(UserAuth,contextID); let cancelresult = publicFC.publicgecancelAuth(UserAuth,contextID);
await sleep(100); await sleep(2500);
if(cancelresult == 1){ if(cancelresult == 1){
console.info('AuthTest_0101 cancel = 1 authresult = ' + authresult); console.info('AuthTest_0101 cancel = 1 authresult = ' + authresult);
expect(ResultCode.SUCCESS).assertEqual(authresult); expect(ResultCode.SUCCESS).assertEqual(authresult);
......
...@@ -208,7 +208,7 @@ describe('userauthTest', function () { ...@@ -208,7 +208,7 @@ describe('userauthTest', function () {
}, function (onacquireinfo) { }, function (onacquireinfo) {
}) })
let cancelresult = publicFC.publiccancel(UserIDM,challenge); let cancelresult = publicFC.publiccancel(UserIDM,challenge);
await sleep(100); await sleep(2500);
if(cancelresult == 1){ if(cancelresult == 1){
console.info('Face_AddCred_Func_0103 cancel1 authresult = ' + addfaceresult.addCredresult); console.info('Face_AddCred_Func_0103 cancel1 authresult = ' + addfaceresult.addCredresult);
expect(ResultCode.SUCCESS).assertEqual(addfaceresult.addCredresult); expect(ResultCode.SUCCESS).assertEqual(addfaceresult.addCredresult);
......
...@@ -231,7 +231,7 @@ it('Security_IAM_PIN_Kit_Func_0103', 0, async function (done) { ...@@ -231,7 +231,7 @@ it('Security_IAM_PIN_Kit_Func_0103', 0, async function (done) {
}, function (onacquireinfo) { }, function (onacquireinfo) {
}) })
let cancelresult = publicFC.publicgecancelAuth(UserAuthKit,contextID); let cancelresult = publicFC.publicgecancelAuth(UserAuthKit,contextID);
await sleep(100); await sleep(2500);
if(cancelresult == 1){ if(cancelresult == 1){
console.info('AuthTest_0101 cancel = 1 authresult = ' + authresult); console.info('AuthTest_0101 cancel = 1 authresult = ' + authresult);
expect(ResultCode.SUCCESS).assertEqual(authresult); expect(ResultCode.SUCCESS).assertEqual(authresult);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册