Skip to content

Commit

Permalink
Merge pull request #131 from cole-miller/no-rmdir
Browse files Browse the repository at this point in the history
Don't bother removing the dqlite directory at the end of a run
  • Loading branch information
Mathieu Borderé authored Aug 23, 2023
2 parents f4be20a + bf2b190 commit 1ab3a41
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/jepsen/dqlite/db.clj
Original file line number Diff line number Diff line change
Expand Up @@ -254,9 +254,7 @@
(future-cancel t))
(kill! test node)
(when tmpfs
(db/teardown! tmpfs test node))
(Thread/sleep 200) ; avoid race: rm: cannot remove '/opt/dqlite/data': Directory not empty
(c/su (c/exec :rm :-rf dir)))
(db/teardown! tmpfs test node)))

db/LogFiles
(log-files [_ test node]
Expand Down

0 comments on commit 1ab3a41

Please sign in to comment.