Skip to content

Commit 4c306ab

Browse files
committed
reset
1 parent 2693fa3 commit 4c306ab

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

deps/rabbit/src/rabbit_khepri.erl

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -381,7 +381,10 @@ prepare_for_reset() ->
381381
%% @private
382382

383383
reset() ->
384-
ok = khepri_cluster:reset(?RA_CLUSTER_NAME),
384+
case khepri_cluster:reset(?RA_CLUSTER_NAME) of
385+
ok -> ok;
386+
{error, ?khepri_error(not_a_khepri_store, _)} -> ok
387+
end,
385388
ok = khepri:stop(?RA_CLUSTER_NAME),
386389
ok = ensure_ra_system_stopped(),
387390
ok.

0 commit comments

Comments
 (0)