summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Lehnardt <jan@apache.org>2017-05-20 22:22:47 +0200
committerJan Lehnardt <jan@apache.org>2017-05-20 22:22:56 +0200
commitd96f47d57057b792fb30fbd8de946e1e427b7d1f (patch)
tree86cae1aff1c6123dcb49e02079192687bef05a12
parent060fd6326be832b827f205e95a35bca1350ff54d (diff)
downloadcouchdb-d96f47d57057b792fb30fbd8de946e1e427b7d1f.tar.gz
fix couch_replicator_compact_test by removing duplicate code
-rw-r--r--src/couch_replicator/test/couch_replicator_compact_tests.erl5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/couch_replicator/test/couch_replicator_compact_tests.erl b/src/couch_replicator/test/couch_replicator_compact_tests.erl
index 3c9fb090f..1a794658a 100644
--- a/src/couch_replicator/test/couch_replicator_compact_tests.erl
+++ b/src/couch_replicator/test/couch_replicator_compact_tests.erl
@@ -156,11 +156,6 @@ wait_for_task_status() ->
end
end).
-replication_tasks() ->
- lists:filter(fun(P) ->
- couch_util:get_value(type, P) =:= replication
- end, couch_task_status:all()).
-
should_cancel_replication(RepId, RepPid) ->
?_assertNot(begin
ok = couch_replicator_scheduler:remove_job(RepId),