Return-Path: X-Original-To: apmail-couchdb-commits-archive@www.apache.org Delivered-To: apmail-couchdb-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 1C30D11E26 for ; Mon, 25 Aug 2014 20:19:52 +0000 (UTC) Received: (qmail 84344 invoked by uid 500); 25 Aug 2014 20:19:52 -0000 Delivered-To: apmail-couchdb-commits-archive@couchdb.apache.org Received: (qmail 84233 invoked by uid 500); 25 Aug 2014 20:19:52 -0000 Mailing-List: contact commits-help@couchdb.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@couchdb.apache.org Delivered-To: mailing list commits@couchdb.apache.org Received: (qmail 84209 invoked by uid 99); 25 Aug 2014 20:19:51 -0000 Received: from tyr.zones.apache.org (HELO tyr.zones.apache.org) (140.211.11.114) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 25 Aug 2014 20:19:51 +0000 Received: by tyr.zones.apache.org (Postfix, from userid 65534) id 99552A03E4D; Mon, 25 Aug 2014 20:19:51 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: chewbranca@apache.org To: commits@couchdb.apache.org Date: Mon, 25 Aug 2014 20:19:52 -0000 Message-Id: In-Reply-To: <68b81aff03fd4526b6ab8f6ac3d280e4@git.apache.org> References: <68b81aff03fd4526b6ab8f6ac3d280e4@git.apache.org> X-Mailer: ASF-Git Admin Mailer Subject: [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 Authored: Fri Aug 15 13:01:56 2014 -0700 Committer: Russell Branca 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_() ->