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

!6439 【Openharmony3.2.8.3】【rk3568】【monthly】数据用例整改

Merge pull request !6439 from logic42/monthly_20221018
...@@ -2337,11 +2337,7 @@ describe('SingleKvStoreCallbackTest', function () { ...@@ -2337,11 +2337,7 @@ describe('SingleKvStoreCallbackTest', function () {
*/ */
it('SUB_DDM_DKV_SINGLEKVSTORE_CLOSERESULT_CALLBACK_8200', 0, async function (done) { it('SUB_DDM_DKV_SINGLEKVSTORE_CLOSERESULT_CALLBACK_8200', 0, async function (done) {
console.info('SingleKvStoreCloseResultSetCallbackTest004'); console.info('SingleKvStoreCloseResultSetCallbackTest004');
let resultSet = null;
await kvStore.getResultSet('batch_test_string_key').then((result) => {
console.info('SingleKvStoreCloseResultSetCallbackTest004 getResultSet success');
resultSet = result;
})
try{ try{
kvStore.closeResultSet("",(err, data) => { kvStore.closeResultSet("",(err, data) => {
console.info('SingleKvStoreCloseResultSetCallbackTest004 close result finish') console.info('SingleKvStoreCloseResultSetCallbackTest004 close result finish')
......
...@@ -2263,11 +2263,7 @@ describe('singleKvStoreCallbackTest', function () { ...@@ -2263,11 +2263,7 @@ describe('singleKvStoreCallbackTest', function () {
*/ */
it('testSingleKvStoreCloseResultSet104', 0, async function (done) { it('testSingleKvStoreCloseResultSet104', 0, async function (done) {
console.info('SingleKvStoreCloseResultSetCallbackTest004'); console.info('SingleKvStoreCloseResultSetCallbackTest004');
let resultSet = null;
await kvStore.getResultSet('batch_test_string_key').then((result) => {
console.info('SingleKvStoreCloseResultSetCallbackTest004 getResultSet success');
resultSet = result;
})
kvStore.closeResultSet("",(err, data) => { kvStore.closeResultSet("",(err, data) => {
if(err != undefined){ if(err != undefined){
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册