This is an automated email from the ASF dual-hosted git repository.

jan pushed a commit to branch jenkins-parallel-eunit
in repository https://gitbox.apache.org/repos/asf/couchdb.git

commit 99c554876f9ab457d8f12458624dfe2f48295214
Author: Jan Lehnardt <[email protected]>
AuthorDate: Thu Dec 4 10:38:30 2025 +0100

    feat: make fabric test setup more reliable by just asserting the deletion 
of a shards db
---
 src/fabric/test/eunit/fabric_tests.erl | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/src/fabric/test/eunit/fabric_tests.erl 
b/src/fabric/test/eunit/fabric_tests.erl
index 77327f445..63a55ff9a 100644
--- a/src/fabric/test/eunit/fabric_tests.erl
+++ b/src/fabric/test/eunit/fabric_tests.erl
@@ -386,7 +386,10 @@ delete_dbs(DbList) ->
 
 setup_fabric() ->
     Ctx = test_util:start_couch([fabric]),
-    ok = clear_shards_db(),
+    ok = case clear_shards_db() of
+        ok -> ok;
+        not_found -> ok
+    end,
     Ctx.
 
 teardown_fabric(Ctx) ->

Reply via email to