couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kxe...@apache.org
Subject [46/48] couch commit: updated refs/heads/master to 7776921
Date Sat, 04 Apr 2015 23:29:41 GMT
Disable some tests

Disabled tests fail sometimes due to timeout and race conditions

COUCHDB-2547


Project: http://git-wip-us.apache.org/repos/asf/couchdb-couch/repo
Commit: http://git-wip-us.apache.org/repos/asf/couchdb-couch/commit/15db2b4e
Tree: http://git-wip-us.apache.org/repos/asf/couchdb-couch/tree/15db2b4e
Diff: http://git-wip-us.apache.org/repos/asf/couchdb-couch/diff/15db2b4e

Branch: refs/heads/master
Commit: 15db2b4ed67a7926b79a367bd8cff81e4165cdd0
Parents: 17937d5
Author: ILYA Khlopotov <iilyak@ca.ibm.com>
Authored: Thu Feb 26 15:19:45 2015 -0800
Committer: ILYA Khlopotov <iilyak@ca.ibm.com>
Committed: Thu Feb 26 15:19:45 2015 -0800

----------------------------------------------------------------------
 test/couch_changes_tests.erl       | 4 ++++
 test/couchdb_compaction_daemon.erl | 3 +++
 2 files changed, 7 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/couchdb-couch/blob/15db2b4e/test/couch_changes_tests.erl
----------------------------------------------------------------------
diff --git a/test/couch_changes_tests.erl b/test/couch_changes_tests.erl
index 589cccc..c28394b 100644
--- a/test/couch_changes_tests.erl
+++ b/test/couch_changes_tests.erl
@@ -18,6 +18,8 @@
 -define(TIMEOUT, 3000).
 -define(TEST_TIMEOUT, 10000).
 
+-ifdef(run_broken_tests).
+
 -record(row, {
     id,
     seq,
@@ -600,3 +602,5 @@ create_db(DbName) ->
 
 delete_db(DbName) ->
     ok = couch_server:delete(DbName, [?ADMIN_CTX]).
+
+-endif.

http://git-wip-us.apache.org/repos/asf/couchdb-couch/blob/15db2b4e/test/couchdb_compaction_daemon.erl
----------------------------------------------------------------------
diff --git a/test/couchdb_compaction_daemon.erl b/test/couchdb_compaction_daemon.erl
index 92ed8ac..0598a5a 100644
--- a/test/couchdb_compaction_daemon.erl
+++ b/test/couchdb_compaction_daemon.erl
@@ -18,6 +18,7 @@
 -define(TIMEOUT, 30000).
 -define(TIMEOUT_S, ?TIMEOUT div 1000).
 
+-ifdef(run_broken_tests).
 
 start() ->
     Ctx = test_util:start_couch(),
@@ -256,3 +257,5 @@ with_config_change(DbName, Fun) ->
             true -> wait
         end
     end).
+
+-endif.


Mime
View raw message