diff --git a/distributeddatamgr/relationalStorejstest/hap/src/main/js/test/RdbstoreInsertJsunit.test.js b/distributeddatamgr/relationalStorejstest/hap/src/main/js/test/RdbstoreInsertJsunit.test.js index 6af12519ec59a80d8d4e095d80d3c9abc4e61029..532a0437d62f3049a64817ed8827eece4c612d65 100644 --- a/distributeddatamgr/relationalStorejstest/hap/src/main/js/test/RdbstoreInsertJsunit.test.js +++ b/distributeddatamgr/relationalStorejstest/hap/src/main/js/test/RdbstoreInsertJsunit.test.js @@ -663,7 +663,7 @@ describe('rdbstoreInsertTest', function () { "blobType": u8, } const valueBuckets = [valueBucket1, valueBucket2, valueBucket3] - await rdbStore.executeSql(CREATE_TABLE_NAME + "callback1" + CREATE_TABLE).then(() => { + await rdbStore.executeSql(CREATE_TABLE_NAME + "callback1" + CREATE_TABLE).then(async() => { console.info(TAG + "Batch insert data start") await rdbStore.batchInsert("testcallback1", valueBuckets, async (err, data) => { if(err != null){