Signed-off-by: htt1997 <hutao105@huawei.com>
This commit is contained in:
htt1997 2024-11-20 17:32:29 +08:00
parent 36e2ee5ccb
commit 4f831ad83e

View File

@ -337,15 +337,17 @@ describe('rdbStoreTest', function () {
blobType: new Uint8Array(Array(1024 * 1024).fill(1)),
})
const middleTime = new Date().getTime();
console.log(TAG + "testRdbStore0012, startTime:" + startTime + " middleTime:" + middleTime);
expect((middleTime - startTime) > 2000).assertTrue();
expect((middleTime - startTime) > 1000).assertTrue();
rdbStore.insertSync('test', {
blobType: new Uint8Array(Array(1024 * 1024).fill(1)),
})
const endTime = new Date().getTime();
console.log(TAG + "testRdbStore0012, endTime:" + endTime + " middleTime:" + middleTime);
expect((endTime - middleTime) < 2000).assertTrue();
expect((endTime - middleTime) < 1000).assertTrue();
console.log(TAG + "************* testRdbStore0012 end *************");
done();
} catch (e) {