未验证 提交 2c07a3a1 编写于 作者: O openharmony_ci 提交者: Gitee

!6885 【Distributeddatamgr】【monthly_20221018】KvStoreBackupPromiseJsTest.js文件修改,优化用例

Merge pull request !6885 from yanglifeng/monthly_20221018
......@@ -781,7 +781,7 @@ describe('kvStoreBackupPromiseJsunittest', function () {
it('SUB_DDM_DKV_KVBACKUP_PUT_PROMISE_0200', 0, async function (done) {
try {
console.log("SUB_DDM_DKV_KVBACKUP_PUT_PROMISE_0200 before putdata");
publicput(kvStore,"PutPromise0002","value") ;
await publicput(kvStore,"PutPromise0002","value") ;
console.log("SUB_DDM_DKV_KVBACKUP_PUT_PROMISE_0200 going putdata");
await publicget(kvStore,"PutPromise0002").then((data) => {
console.log("SUB_DDM_DKV_KVBACKUP_PUT_PROMISE_0200 going getdata" + JSON.stringify(data));
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册