[server-ce] test: the first startWith must resetData when using dataDir (#34671)

* [server-ce] test: the first startWith must resetData when using dataDir

* [server-ce] test: fix order of creating user and resetting DB

GitOrigin-RevId: 2a6e6344919fe48d41704e1a3cb39c6e22b5a924
This commit is contained in:
Jakob Ackermann
2026-06-17 08:06:54 +00:00
committed by Copybot
parent bf22bf9eed
commit 6bc9f1dae4
2 changed files with 7 additions and 2 deletions
+6 -1
View File
@@ -256,7 +256,12 @@ describe('filestore migration', function () {
})
} else {
// 5.x
startWith({ version: '5.5.5', pro: true, withDataDir: true })
startWith({
version: '5.5.5',
pro: true,
withDataDir: true,
resetData: true,
})
defaultImage = 'frog.jpg'
ensureUserExists({ email })
before(function () {
+1 -1
View File
@@ -21,8 +21,8 @@ import { beforeWithReRunOnTestRetry } from './helpers/beforeWithReRunOnTestRetry
describe('Project Sharing', function () {
if (isExcludedBySharding('PRO_CUSTOM_4')) return
startWith({ withDataDir: true, pro: true, resetData: true })
ensureUserExists({ email: 'user@example.com' })
startWith({ withDataDir: true, pro: true })
let projectName: string
let recompile: () => void