You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by ch...@apache.org on 2014/08/25 22:19:52 UTC

[02/12] couch commit: updated refs/heads/1963-eunit-bigcouch to c869805

WIP: Switch to using test_util:start_config


Project: http://git-wip-us.apache.org/repos/asf/couchdb-couch/repo
Commit: http://git-wip-us.apache.org/repos/asf/couchdb-couch/commit/65311e43
Tree: http://git-wip-us.apache.org/repos/asf/couchdb-couch/tree/65311e43
Diff: http://git-wip-us.apache.org/repos/asf/couchdb-couch/diff/65311e43

Branch: refs/heads/1963-eunit-bigcouch
Commit: 65311e4360e84f117733f65755e6c52fa699d1af
Parents: c3fe418
Author: Russell Branca <ch...@apache.org>
Authored: Fri Aug 15 13:01:56 2014 -0700
Committer: Russell Branca <ch...@apache.org>
Committed: Mon Aug 25 13:06:13 2014 -0700

----------------------------------------------------------------------
 test/couch_config_tests.erl   | 2 +-
 test/couch_doc_json_tests.erl | 6 +++---
 2 files changed, 4 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/couchdb-couch/blob/65311e43/test/couch_config_tests.erl
----------------------------------------------------------------------
diff --git a/test/couch_config_tests.erl b/test/couch_config_tests.erl
index 3b7a63f..50a91a6 100644
--- a/test/couch_config_tests.erl
+++ b/test/couch_config_tests.erl
@@ -41,7 +41,7 @@ setup({temporary, Chain}) ->
 setup({persistent, Chain}) ->
     setup(lists:append(Chain, [?CONFIG_FIXTURE_TEMP]));
 setup(Chain) ->
-    {ok, Pid} = config:start_link(Chain),
+    {ok, Pid} = test_util:start_config(Chain),
     Pid.
 
 setup_empty() ->

http://git-wip-us.apache.org/repos/asf/couchdb-couch/blob/65311e43/test/couch_doc_json_tests.erl
----------------------------------------------------------------------
diff --git a/test/couch_doc_json_tests.erl b/test/couch_doc_json_tests.erl
index ef5d0f2..64dea96 100644
--- a/test/couch_doc_json_tests.erl
+++ b/test/couch_doc_json_tests.erl
@@ -17,12 +17,12 @@
 
 
 setup() ->
-    config:start_link(?CONFIG_CHAIN),
+    {ok, Pid} = test_util:start_config(?CONFIG_CHAIN),
     config:set("attachments", "compression_level", "0", false),
-    ok.
+    Pid.
 
 teardown(_) ->
-    config:stop().
+    test_util:stop_config().
 
 
 json_doc_test_() ->