Skip to content
代码片段 群组 项目
未验证 提交 2578afec 编辑于 作者: paulr34's avatar paulr34 提交者: GitHub
浏览文件

fixing the dirty flag upon startup (#633)

* fixing the dirty flag upon startup

* adding unit test which checks that the Dirty Flag is 0 upon empty configuration
上级 838ec3b2
No related branches found
No related tags found
无相关合并请求
......@@ -167,6 +167,7 @@ async function initializeSessionPackage(db, sessionId, options) {
db,
sessionId
)
await querySession.setSessionClean(db, sessionId)
return packages
}
......
......@@ -66,6 +66,15 @@ beforeAll(async () => {
afterAll(() => dbApi.closeDatabase(db), testUtil.timeout.short())
test(
'Dirty Flag Validation',
async () => {
let result = await querySession.getSessionDirtyFlag(db, sid)
expect(result).toBeFalsy()
},
testUtil.timeout.short()
)
test(
'Path CRC queries.',
async () => {
......
0% 加载中 .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册