couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From chewbra...@apache.org
Subject [11/14] couch-replicator commit: updated refs/heads/1963-eunit-bigcouch to 7e6e105
Date Wed, 27 Aug 2014 23:42:26 GMT
Use ?ADMIN macros from couch_eunit.hrl


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/39a64969
Tree: http://git-wip-us.apache.org/repos/asf/couchdb-couch-replicator/tree/39a64969
Diff: http://git-wip-us.apache.org/repos/asf/couchdb-couch-replicator/diff/39a64969

Branch: refs/heads/1963-eunit-bigcouch
Commit: 39a64969b48fde173c5e5b47349a9a7f55f3b622
Parents: c13e47e
Author: Russell Branca <chewbranca@apache.org>
Authored: Wed Aug 27 16:38:40 2014 -0700
Committer: Russell Branca <chewbranca@apache.org>
Committed: Wed Aug 27 16:38:40 2014 -0700

----------------------------------------------------------------------
 test/couch_replicator_compact_tests.erl         | 2 --
 test/couch_replicator_httpc_pool_tests.erl      | 1 -
 test/couch_replicator_large_atts_tests.erl      | 2 --
 test/couch_replicator_many_leaves_tests.erl     | 2 --
 test/couch_replicator_missing_stubs_tests.erl   | 2 --
 test/couch_replicator_use_checkpoints_tests.erl | 2 --
 6 files changed, 11 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/couchdb-couch-replicator/blob/39a64969/test/couch_replicator_compact_tests.erl
----------------------------------------------------------------------
diff --git a/test/couch_replicator_compact_tests.erl b/test/couch_replicator_compact_tests.erl
index 899bc15..407695e 100644
--- a/test/couch_replicator_compact_tests.erl
+++ b/test/couch_replicator_compact_tests.erl
@@ -16,8 +16,6 @@
 -include_lib("couch/include/couch_db.hrl").
 -include_lib("couch_replicator/src/couch_replicator.hrl").
 
--define(ADMIN_ROLE, #user_ctx{roles=[<<"_admin">>]}).
--define(ADMIN_USER, {user_ctx, ?ADMIN_ROLE}).
 -define(ATTFILE, filename:join([?FIXTURESDIR, "logo.png"])).
 -define(DELAY, 100).
 -define(TIMEOUT, 30000).

http://git-wip-us.apache.org/repos/asf/couchdb-couch-replicator/blob/39a64969/test/couch_replicator_httpc_pool_tests.erl
----------------------------------------------------------------------
diff --git a/test/couch_replicator_httpc_pool_tests.erl b/test/couch_replicator_httpc_pool_tests.erl
index c6c6ad1..b65d174 100644
--- a/test/couch_replicator_httpc_pool_tests.erl
+++ b/test/couch_replicator_httpc_pool_tests.erl
@@ -15,7 +15,6 @@
 -include_lib("couch/include/couch_eunit.hrl").
 -include_lib("couch/include/couch_db.hrl").
 
--define(ADMIN_USER, {user_ctx, #user_ctx{roles=[<<"_admin">>]}}).
 -define(TIMEOUT, 1000).
 
 

http://git-wip-us.apache.org/repos/asf/couchdb-couch-replicator/blob/39a64969/test/couch_replicator_large_atts_tests.erl
----------------------------------------------------------------------
diff --git a/test/couch_replicator_large_atts_tests.erl b/test/couch_replicator_large_atts_tests.erl
index 23cd3ea..b821a18 100644
--- a/test/couch_replicator_large_atts_tests.erl
+++ b/test/couch_replicator_large_atts_tests.erl
@@ -15,8 +15,6 @@
 -include_lib("couch/include/couch_eunit.hrl").
 -include_lib("couch/include/couch_db.hrl").
 
--define(ADMIN_ROLE, #user_ctx{roles=[<<"_admin">>]}).
--define(ADMIN_USER, {user_ctx, ?ADMIN_ROLE}).
 -define(ATT_SIZE_1, 2 * 1024 * 1024).
 -define(ATT_SIZE_2, round(6.6 * 1024 * 1024)).
 -define(DOCS_COUNT, 11).

http://git-wip-us.apache.org/repos/asf/couchdb-couch-replicator/blob/39a64969/test/couch_replicator_many_leaves_tests.erl
----------------------------------------------------------------------
diff --git a/test/couch_replicator_many_leaves_tests.erl b/test/couch_replicator_many_leaves_tests.erl
index 215bc55..0a75da7 100644
--- a/test/couch_replicator_many_leaves_tests.erl
+++ b/test/couch_replicator_many_leaves_tests.erl
@@ -15,8 +15,6 @@
 -include_lib("couch/include/couch_eunit.hrl").
 -include_lib("couch/include/couch_db.hrl").
 
--define(ADMIN_ROLE, #user_ctx{roles=[<<"_admin">>]}).
--define(ADMIN_USER, {user_ctx, ?ADMIN_ROLE}).
 -define(DOCS_CONFLICTS, [
     {<<"doc1">>, 10},
     {<<"doc2">>, 100},

http://git-wip-us.apache.org/repos/asf/couchdb-couch-replicator/blob/39a64969/test/couch_replicator_missing_stubs_tests.erl
----------------------------------------------------------------------
diff --git a/test/couch_replicator_missing_stubs_tests.erl b/test/couch_replicator_missing_stubs_tests.erl
index 3371089..713ab01 100644
--- a/test/couch_replicator_missing_stubs_tests.erl
+++ b/test/couch_replicator_missing_stubs_tests.erl
@@ -15,8 +15,6 @@
 -include_lib("couch/include/couch_eunit.hrl").
 -include_lib("couch/include/couch_db.hrl").
 
--define(ADMIN_ROLE, #user_ctx{roles=[<<"_admin">>]}).
--define(ADMIN_USER, {user_ctx, ?ADMIN_ROLE}).
 -define(REVS_LIMIT, 3).
 -define(TIMEOUT_STOP, 1000).
 -define(TIMEOUT_EUNIT, 30).

http://git-wip-us.apache.org/repos/asf/couchdb-couch-replicator/blob/39a64969/test/couch_replicator_use_checkpoints_tests.erl
----------------------------------------------------------------------
diff --git a/test/couch_replicator_use_checkpoints_tests.erl b/test/couch_replicator_use_checkpoints_tests.erl
index 6381366..69ac661 100644
--- a/test/couch_replicator_use_checkpoints_tests.erl
+++ b/test/couch_replicator_use_checkpoints_tests.erl
@@ -15,8 +15,6 @@
 -include_lib("couch/include/couch_eunit.hrl").
 -include_lib("couch/include/couch_db.hrl").
 
--define(ADMIN_ROLE, #user_ctx{roles=[<<"_admin">>]}).
--define(ADMIN_USER, {user_ctx, ?ADMIN_ROLE}).
 -define(DOCS_COUNT, 100).
 -define(TIMEOUT_STOP, 1000).
 -define(TIMEOUT_EUNIT, 30).


Mime
View raw message