mirror of
https://gitee.com/openharmony/xts_dcts
synced 2024-11-23 07:39:59 +00:00
!704 【distributeddatamgr】【master】kv,优化用例的时序,服务端删除数据库等待2s,解决用例偶现失败问题。
Merge pull request !704 from wuxiaodan/master
This commit is contained in:
commit
fd0044acc6
@ -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();
|
||||
|
||||
|
@ -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();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user