Skip to content

Commit 51aec0a

Browse files
committed
wipe
1 parent 3555a1b commit 51aec0a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

deps/rabbit/src/rabbit_db.erl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -223,9 +223,9 @@ post_reset() ->
223223
wipe_data_dir() ->
224224
DataDir = dir(),
225225
Glob = filename:join(DataDir, "*"),
226-
FilesToRemove = filelib:wildcard(Glob),
226+
FilesToRemove = lists:sort(filelib:wildcard(Glob)),
227227
?LOG_DEBUG(
228-
"DB: wipe files in data directory `~ts`:~p",
228+
"DB: wipe files in data directory `~ts`:~n~p",
229229
[DataDir, FilesToRemove],
230230
#{domain => ?RMQLOG_DOMAIN_DB}),
231231
ok = rabbit_file:recursive_delete(FilesToRemove),

0 commit comments

Comments
 (0)