You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by ii...@apache.org on 2022/01/31 20:36:46 UTC
[couchdb] 01/01: Do not persist config to disk
This is an automated email from the ASF dual-hosted git repository.
iilyak pushed a commit to branch fix-flaky-test-in-fabric_rpc
in repository https://gitbox.apache.org/repos/asf/couchdb.git
commit 1baa9091e74d7e84e52bc5ba96bb5cb038937741
Author: ILYA Khlopotov <ii...@apache.org>
AuthorDate: Mon Jan 31 12:36:25 2022 -0800
Do not persist config to disk
---
src/fabric/test/eunit/fabric_rpc_tests.erl | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/fabric/test/eunit/fabric_rpc_tests.erl b/src/fabric/test/eunit/fabric_rpc_tests.erl
index 030d28c..8535ffd 100644
--- a/src/fabric/test/eunit/fabric_rpc_tests.erl
+++ b/src/fabric/test/eunit/fabric_rpc_tests.erl
@@ -58,7 +58,7 @@ setup_all() ->
DatabaseDir = config:get("couchdb", "database_dir"),
Suffix = ?b2l(couch_uuids:random()),
test_util:with_couch_server_restart(fun() ->
- config:set("couchdb", "database_dir", DatabaseDir ++ "/" ++ Suffix)
+ config:set("couchdb", "database_dir", DatabaseDir ++ "/" ++ Suffix, _Persist = false)
end),
Ctx.