We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0325c45 commit 5ad7988Copy full SHA for 5ad7988
deps/rabbit/src/rabbit_khepri.erl
@@ -382,9 +382,11 @@ reset() ->
382
false ->
383
%% Rabbit should be stopped, but Khepri needs to be running.
384
%% Restart it.
385
+ RaSystemRunning = is_ra_system_running(),
386
ok = setup(),
387
ok = khepri_cluster:reset(?RA_CLUSTER_NAME),
388
ok = khepri:stop(?RA_CLUSTER_NAME),
389
+ RaSystemRunning orelse ensure_ra_system_stopped(),
390
391
_ = file:delete(rabbit_guid:filename()),
392
ok;
0 commit comments