diff --git a/global/i18n_standard/intljs/Test.json b/global/i18n_standard/intljs/Test.json index 086a1528f153b520af7fd99a4d4f2f6f30aac394..27be91538e90316279b62634129e39cc4d12d8e7 100755 --- a/global/i18n_standard/intljs/Test.json +++ b/global/i18n_standard/intljs/Test.json @@ -2,7 +2,7 @@ "description": "Configuration for intljs Tests", "driver": { "type": "JSUnitTest", - "test-timeout": "120000", + "test-timeout": "300000", "package": "ohos.intl.test", "shell-timeout": "60000" }, diff --git a/global/i18n_standard/intljs/src/main/js/default/test/Intl.test.js b/global/i18n_standard/intljs/src/main/js/default/test/Intl.test.js index 429f5fb71fdcb8580e805bdd84c38acda5fd1ddc..ec1009098d95480f07979246ae33f3acb8c5e003 100644 --- a/global/i18n_standard/intljs/src/main/js/default/test/Intl.test.js +++ b/global/i18n_standard/intljs/src/main/js/default/test/Intl.test.js @@ -101,7 +101,7 @@ describe('intlTest', function () { * @tc.desc check the calendar */ it('locale_test_0800', 0, function () { - let locale = new Intl.Locale('zh-CN', {hourCycle: '24', calendar: 'gregory'}); + let locale = new Intl.Locale('zh-CN', {hourCycle: 'h24', calendar: 'gregory'}); console.log('locale_test_0800 ' + locale.calendar); expect(locale.calendar).assertEqual('gregory'); }) diff --git a/global/resmgr_standard/resmgrjs/Test.json b/global/resmgr_standard/resmgrjs/Test.json index eaa38a7e37436acfd10ef51aa38d8f326f2b6356..83eb3c65e765687b59922cb6cc945161e5850551 100755 --- a/global/resmgr_standard/resmgrjs/Test.json +++ b/global/resmgr_standard/resmgrjs/Test.json @@ -2,7 +2,7 @@ "description": "Configuration for resmgrjs Tests", "driver": { "type": "JSUnitTest", - "test-timeout": "60000", + "test-timeout": "300000", "package": "ohos.resmgr.test", "shell-timeout": "60000" },