couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From chewbra...@apache.org
Subject [43/50] [abbrv] couch commit: updated refs/heads/1963-eunit-bigcouch to 95bfc03
Date Fri, 15 Aug 2014 20:25:10 GMT
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/fbad3c9c
Tree: http://git-wip-us.apache.org/repos/asf/couchdb-couch/tree/fbad3c9c
Diff: http://git-wip-us.apache.org/repos/asf/couchdb-couch/diff/fbad3c9c

Branch: refs/heads/1963-eunit-bigcouch
Commit: fbad3c9c82b655261f03519fab513e358fbbb2a5
Parents: dc041fe
Author: Russell Branca <chewbranca@apache.org>
Authored: Fri Aug 15 13:01:56 2014 -0700
Committer: Russell Branca <chewbranca@apache.org>
Committed: Fri Aug 15 13:24:06 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/fbad3c9c/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/fbad3c9c/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_() ->


Mime
View raw message