couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dav...@apache.org
Subject [22/26] couch-replicator commit: updated refs/heads/import-rcouch to 589d958
Date Thu, 06 Feb 2014 17:19:20 GMT
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 <benoitc@apache.org>
Authored: Thu Jan 9 16:24:32 2014 +0100
Committer: Paul J. Davis <paul.joseph.davis@gmail.com>
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),


Mime
View raw message