!659 【distributeddatamgr】【master】kv,优化schema数据同步时间

Merge pull request !659 from wuxiaodan/master
This commit is contained in:
openharmony_ci 2024-06-11 03:19:50 +00:00 committed by Gitee
commit b05b100d05
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
2 changed files with 4 additions and 4 deletions

View File

@ -4502,7 +4502,7 @@ export default function kvSyncTestS1() {
const query = new factory.Query();
query.prefixKey("test_");
kvStore.sync(syncDeviceIds, query, PULL, 1000);
await sleep(1000);
await sleep(4000);
await kvStore.get(schemaKey, (err, data) => {
try {
@ -4601,7 +4601,7 @@ export default function kvSyncTestS1() {
const query = new factory.Query();
query.prefixKey("test_");
kvStore.sync(syncDeviceIds, query, PUSH_PULL, 1000);
await sleep(1000);
await sleep(4000);
await kvStore.get(schemaKey, (err, data) => {
try {

View File

@ -4935,7 +4935,7 @@ export default function kvSyncTestS1Ets() {
const query = new factory.Query();
query.prefixKey("test_");
kvStore.sync(syncDeviceIds, query, PULL, 1000);
await sleep(1000);
await sleep(4000);
await kvStore.get(schemaKey, (err, data) => {
try {
@ -5034,7 +5034,7 @@ export default function kvSyncTestS1Ets() {
const query = new factory.Query();
query.prefixKey("test_");
kvStore.sync(syncDeviceIds, query, PUSH_PULL, 1000);
await sleep(1000);
await sleep(4000);
await kvStore.get(schemaKey, (err, data) => {
try {