You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by va...@apache.org on 2022/07/14 23:01:45 UTC

[couchdb] branch main updated: Fix not calling is_compacting test

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

vatamane pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/couchdb.git


The following commit(s) were added to refs/heads/main by this push:
     new 005843a43 Fix not calling is_compacting test
005843a43 is described below

commit 005843a439c933d02da193ff529a971bc23fa1f2
Author: Noah Shaw <no...@yahoo.com>
AuthorDate: Thu Jul 14 17:27:15 2022 -0500

    Fix not calling is_compacting test
---
 src/couch/test/eunit/couch_bt_engine_compactor_tests.erl | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/src/couch/test/eunit/couch_bt_engine_compactor_tests.erl b/src/couch/test/eunit/couch_bt_engine_compactor_tests.erl
index 39d9ba3b7..4ed57668e 100644
--- a/src/couch/test/eunit/couch_bt_engine_compactor_tests.erl
+++ b/src/couch/test/eunit/couch_bt_engine_compactor_tests.erl
@@ -26,6 +26,7 @@ setup() ->
     DbName.
 
 teardown(DbName) when is_binary(DbName) ->
+    meck:unload(),
     couch_server:delete(DbName, [?ADMIN_CTX]),
     ok.
 
@@ -39,7 +40,8 @@ basic_compaction_test_() ->
             fun setup/0,
             fun teardown/1,
             [
-                fun compaction_resume/1
+                fun compaction_resume/1,
+                fun is_compacting_works/1
             ]
         }
     }.