mirror of
https://github.com/logos-storage/logos-storage-nim.git
synced 2026-01-27 01:33:17 +00:00
add test name to datadir path
avoids reusing datadirs between tests
This commit is contained in:
parent
c196920d20
commit
9ac24ff2fa
@ -128,7 +128,9 @@ template multinodesuite*(name: string, body: untyped) =
|
||||
raiseMultiNodeSuiteError "Cannot start node at nodeIdx " & $nodeIdx &
|
||||
", not enough eth accounts."
|
||||
|
||||
let datadir = getTempDirName(starttime, role, roleIdx)
|
||||
let datadir =
|
||||
getTempDir() / "Codex" / sanitize(TestId) / sanitize(currentTestName) /
|
||||
sanitize($starttime) / sanitize($role & "_" & $roleIdx)
|
||||
|
||||
try:
|
||||
if config.logFile.isSome or DebugCodexNodes:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user