!704 【distributeddatamgr】【master】kv,优化用例的时序,服务端删除数据库等待2s,解决用例偶现失败问题。

Merge pull request !704 from wuxiaodan/master
This commit is contained in:
openharmony_ci 2024-08-28 03:18:14 +00:00 committed by Gitee
commit fd0044acc6
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
2 changed files with 8 additions and 6 deletions

View File

@ -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();

View File

@ -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();