From f1cde869c9ebefaabad548594a4f69d701991b25 Mon Sep 17 00:00:00 2001 From: wuxiaodan Date: Tue, 27 Aug 2024 13:53:04 +0800 Subject: [PATCH] 82750 Signed-off-by: wuxiaodan --- .../src/main/js/test/KvStoreSecurityLevelS1Jsunit.test.js | 8 ++++---- .../main/ets/test/KvStoreSecurityLevelS1Etsunit.test.ets | 6 ++++-- 2 files changed, 8 insertions(+), 6 deletions(-) diff --git a/distributeddatamgr/jstest/distributed_kv_store/client/hap/src/main/js/test/KvStoreSecurityLevelS1Jsunit.test.js b/distributeddatamgr/jstest/distributed_kv_store/client/hap/src/main/js/test/KvStoreSecurityLevelS1Jsunit.test.js index 37ce8c3..2e07b06 100644 --- a/distributeddatamgr/jstest/distributed_kv_store/client/hap/src/main/js/test/KvStoreSecurityLevelS1Jsunit.test.js +++ b/distributeddatamgr/jstest/distributed_kv_store/client/hap/src/main/js/test/KvStoreSecurityLevelS1Jsunit.test.js @@ -2216,7 +2216,7 @@ export default function kvSyncTestS1() { await remoteHelpers.closeKvStore("x".repeat(128)).then(async (ret) => { console.info(logTag + "testServerKvStoreId0300 remoteHelpers closeKvStore success: " + ret) }) - + await sleep(2000); console.info(logTag + "testServerKvStoreId0300 end"); done(); @@ -2286,7 +2286,7 @@ export default function kvSyncTestS1() { await remoteHelpers.closeKvStore("x".repeat(128)).then(async (ret) => { console.info(logTag + "testServerKvStoreId0400 remoteHelpers closeKvStore success: " + ret) }) - + await sleep(2000); console.info(logTag + "testServerKvStoreId0400 end"); done(); @@ -2348,7 +2348,7 @@ export default function kvSyncTestS1() { await remoteHelpers.closeKvStore("SERVER_KVSTORE").then(async (ret) => { console.info(logTag + "testServerKvStoreId0500 remoteHelpers closeKvStore success: " + ret) }) - + await sleep(2000); console.info(logTag + "testServerKvStoreId0500 end"); done(); @@ -2411,7 +2411,7 @@ export default function kvSyncTestS1() { await remoteHelpers.closeKvStore("SERVER_KVSTORE").then(async (ret) => { console.info(logTag + "testServerKvStoreId0600 remoteHelpers closeKvStore success: " + ret) }) - + await sleep(2000); console.info(logTag + "testServerKvStoreId0600 end"); done(); diff --git a/distributeddatamgr/jstest/distributed_kv_store_stage/client/entry/src/main/ets/test/KvStoreSecurityLevelS1Etsunit.test.ets b/distributeddatamgr/jstest/distributed_kv_store_stage/client/entry/src/main/ets/test/KvStoreSecurityLevelS1Etsunit.test.ets index ddaf05a..2c4d52c 100644 --- a/distributeddatamgr/jstest/distributed_kv_store_stage/client/entry/src/main/ets/test/KvStoreSecurityLevelS1Etsunit.test.ets +++ b/distributeddatamgr/jstest/distributed_kv_store_stage/client/entry/src/main/ets/test/KvStoreSecurityLevelS1Etsunit.test.ets @@ -2651,7 +2651,7 @@ export default function kvSyncTestS1Ets() { await remoteHelpers.closeKvStore("x".repeat(128)).then(async (ret) => { console.info(logTag + "testServerKvStoreId0300 remoteHelpers closeKvStore success: " + ret) }) - + await sleep(2000); console.info(logTag + "testServerKvStoreId0300 end"); done(); @@ -2721,7 +2721,7 @@ export default function kvSyncTestS1Ets() { await remoteHelpers.closeKvStore("x".repeat(128)).then(async (ret) => { console.info(logTag + "testServerKvStoreId0400 remoteHelpers closeKvStore success: " + ret) }) - + await sleep(2000); console.info(logTag + "testServerKvStoreId0400 end"); done(); @@ -2783,6 +2783,7 @@ export default function kvSyncTestS1Ets() { await remoteHelpers.closeKvStore("SERVER_KVSTORE").then(async (ret) => { console.info(logTag + "testServerKvStoreId0500 remoteHelpers closeKvStore success: " + ret) }) + await sleep(2000); console.info(logTag + "testServerKvStoreId0500 end"); done(); @@ -2845,6 +2846,7 @@ export default function kvSyncTestS1Ets() { await remoteHelpers.closeKvStore("SERVER_KVSTORE").then(async (ret) => { console.info(logTag + "testServerKvStoreId0600 remoteHelpers closeKvStore success: " + ret) }) + await sleep(2000); console.info(logTag + "testServerKvStoreId0600 end"); done();