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 B087B1091B for ; Thu, 6 Feb 2014 17:19:44 +0000 (UTC) Received: (qmail 93210 invoked by uid 500); 6 Feb 2014 17:19:21 -0000 Delivered-To: apmail-couchdb-commits-archive@couchdb.apache.org Received: (qmail 92945 invoked by uid 500); 6 Feb 2014 17:19:11 -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 92432 invoked by uid 99); 6 Feb 2014 17:19:01 -0000 Received: from tyr.zones.apache.org (HELO tyr.zones.apache.org) (140.211.11.114) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 06 Feb 2014 17:19:01 +0000 Received: by tyr.zones.apache.org (Postfix, from userid 65534) id 9C2C88A3430; Thu, 6 Feb 2014 17:19:00 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: davisp@apache.org To: commits@couchdb.apache.org Date: Thu, 06 Feb 2014 17:19:20 -0000 Message-Id: In-Reply-To: <2473704e0c2640c9af2dde59670a387e@git.apache.org> References: <2473704e0c2640c9af2dde59670a387e@git.apache.org> X-Mailer: ASF-Git Admin Mailer Subject: [22/26] couch-replicator commit: updated refs/heads/import-rcouch to 589d958 add `make test` target . all erlang test pass note: from time to time there is a timing issue on 200- test that need to be fixed. It is most probably due to the way the indexer is supervised. Project: http://git-wip-us.apache.org/repos/asf/couchdb-couch-replicator/repo Commit: http://git-wip-us.apache.org/repos/asf/couchdb-couch-replicator/commit/2a8500c0 Tree: http://git-wip-us.apache.org/repos/asf/couchdb-couch-replicator/tree/2a8500c0 Diff: http://git-wip-us.apache.org/repos/asf/couchdb-couch-replicator/diff/2a8500c0 Branch: refs/heads/import-rcouch Commit: 2a8500c0f4b72e9ecbb57ff76f322132dcb7a93a Parents: ac076e9 Author: benoitc Authored: Thu Jan 9 16:24:32 2014 +0100 Committer: Paul J. Davis Committed: Thu Feb 6 11:17:54 2014 -0600 ---------------------------------------------------------------------- test/01-load.t | 1 + test/02-httpc-pool.t | 2 ++ test/03-replication-compact.t | 6 +++++- test/04-replication-large-atts.t | 4 ++++ test/05-replication-many-leaves.t | 2 ++ test/06-doc-missing-stubs.t | 3 +++ test/07-use-checkpoints.t | 3 +++ 7 files changed, 20 insertions(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/couchdb-couch-replicator/blob/2a8500c0/test/01-load.t ---------------------------------------------------------------------- diff --git a/test/01-load.t b/test/01-load.t index 8bd82dd..d901ee8 100644 --- a/test/01-load.t +++ b/test/01-load.t @@ -1,5 +1,6 @@ #!/usr/bin/env escript %% -*- erlang -*- +%%! -pa ./src/deps/*/ebin -pa ./src/apps/*/ebin -pa ./src/test/etap % Licensed under the Apache License, Version 2.0 (the "License"); you may not % use this file except in compliance with the License. You may obtain a copy of http://git-wip-us.apache.org/repos/asf/couchdb-couch-replicator/blob/2a8500c0/test/02-httpc-pool.t ---------------------------------------------------------------------- diff --git a/test/02-httpc-pool.t b/test/02-httpc-pool.t index a7bde6c..aac2eb5 100755 --- a/test/02-httpc-pool.t +++ b/test/02-httpc-pool.t @@ -1,5 +1,7 @@ #!/usr/bin/env escript %% -*- erlang -*- +%%! -pa ./src/deps/*/ebin -pa ./src/apps/*/ebin -pa ./src/test/etap + % Licensed under the Apache License, Version 2.0 (the "License"); you may not % use this file except in compliance with the License. You may obtain a copy of % the License at http://git-wip-us.apache.org/repos/asf/couchdb-couch-replicator/blob/2a8500c0/test/03-replication-compact.t ---------------------------------------------------------------------- diff --git a/test/03-replication-compact.t b/test/03-replication-compact.t index 7c4d38c..3e52b37 100755 --- a/test/03-replication-compact.t +++ b/test/03-replication-compact.t @@ -1,5 +1,7 @@ #!/usr/bin/env escript %% -*- erlang -*- +%%! -pa ./src/deps/*/ebin -pa ./src/apps/*/ebin -pa ./src/test/etap + % Licensed under the Apache License, Version 2.0 (the "License"); you may not % use this file except in compliance with the License. You may obtain a copy of % the License at @@ -83,6 +85,8 @@ main(_) -> test() -> couch_server_sup:start_link(test_util:config_files()), + couch_replicator_sup:start_link(), + ibrowse:start(), Pairs = [ @@ -484,5 +488,5 @@ cancel_replication(RepId, RepPid) -> att_data() -> {ok, Data} = file:read_file( - test_util:source_file("share/www/image/logo.png")), + test_util:build_file("share/www/image/logo.png")), Data. http://git-wip-us.apache.org/repos/asf/couchdb-couch-replicator/blob/2a8500c0/test/04-replication-large-atts.t ---------------------------------------------------------------------- diff --git a/test/04-replication-large-atts.t b/test/04-replication-large-atts.t index a7063c7..da927e9 100755 --- a/test/04-replication-large-atts.t +++ b/test/04-replication-large-atts.t @@ -1,5 +1,7 @@ #!/usr/bin/env escript %% -*- erlang -*- +%%! -pa ./src/deps/*/ebin -pa ./src/apps/*/ebin -pa ./src/test/etap + % Licensed under the Apache License, Version 2.0 (the "License"); you may not % use this file except in compliance with the License. You may obtain a copy of % the License at @@ -64,6 +66,8 @@ main(_) -> test() -> couch_server_sup:start_link(test_util:config_files()), + couch_replicator_sup:start_link(), + application:start(ibrowse), application:start(crypto), couch_config:set("attachments", "compressible_types", "text/*", false), http://git-wip-us.apache.org/repos/asf/couchdb-couch-replicator/blob/2a8500c0/test/05-replication-many-leaves.t ---------------------------------------------------------------------- diff --git a/test/05-replication-many-leaves.t b/test/05-replication-many-leaves.t index 212ee99..8a5008b 100755 --- a/test/05-replication-many-leaves.t +++ b/test/05-replication-many-leaves.t @@ -76,6 +76,8 @@ main(_) -> test() -> couch_server_sup:start_link(test_util:config_files()), + couch_replicator_sup:start_link(), + ibrowse:start(), crypto:start(), couch_config:set("replicator", "connection_timeout", "90000", false), http://git-wip-us.apache.org/repos/asf/couchdb-couch-replicator/blob/2a8500c0/test/06-doc-missing-stubs.t ---------------------------------------------------------------------- diff --git a/test/06-doc-missing-stubs.t b/test/06-doc-missing-stubs.t index e17efc9..cee19ca 100755 --- a/test/06-doc-missing-stubs.t +++ b/test/06-doc-missing-stubs.t @@ -1,5 +1,7 @@ #!/usr/bin/env escript %% -*- erlang -*- +%%! -pa ./src/deps/*/ebin -pa ./src/apps/*/ebin -pa ./src/test/etap + % Licensed under the Apache License, Version 2.0 (the "License"); you may not % use this file except in compliance with the License. You may obtain a copy of % the License at @@ -68,6 +70,7 @@ main(_) -> % Test motivated by COUCHDB-1365. test() -> couch_server_sup:start_link(test_util:config_files()), + couch_replicator_sup:start_link(), ibrowse:start(), Pairs = [ http://git-wip-us.apache.org/repos/asf/couchdb-couch-replicator/blob/2a8500c0/test/07-use-checkpoints.t ---------------------------------------------------------------------- diff --git a/test/07-use-checkpoints.t b/test/07-use-checkpoints.t index cefc1a7..af7ec44 100755 --- a/test/07-use-checkpoints.t +++ b/test/07-use-checkpoints.t @@ -1,4 +1,6 @@ #!/usr/bin/env escript +%%! -pa ./src/deps/*/ebin -pa ./src/apps/*/ebin -pa ./src/test/etap + %% -*- erlang -*- % Licensed under the Apache License, Version 2.0 (the "License"); you may not % use this file except in compliance with the License. You may obtain a copy of @@ -92,6 +94,7 @@ main(_) -> test() -> couch_server_sup:start_link(test_util:config_files()), + couch_replicator_sup:start_link(), ibrowse:start(), test_use_checkpoints(false),