summaryrefslogtreecommitdiff
path: root/test/elixir
diff options
context:
space:
mode:
authorNick Vatamaniuc <vatamane@apache.org>2020-08-28 04:36:18 -0400
committerNick Vatamaniuc <nickva@users.noreply.github.com>2020-09-15 16:13:46 -0400
commitae858196848cf9533dfa03a2006227481f47388d (patch)
tree1daa6d95727f31edf2299842c8501cf0df57c1b1 /test/elixir
parent99262909129602bceac82e7907ebfcafc9eba629 (diff)
downloadcouchdb-ae858196848cf9533dfa03a2006227481f47388d.tar.gz
Update and clean up tests
Update tests to use the new replicator. Also clean up redundancy and re-use some of the newer macros from fabric2 (?TDEF_FE). Make sure replicator tests are included in `make check`
Diffstat (limited to 'test/elixir')
-rw-r--r--test/elixir/test/replication_test.exs5
1 files changed, 4 insertions, 1 deletions
diff --git a/test/elixir/test/replication_test.exs b/test/elixir/test/replication_test.exs
index 8b657d916..9af5ef81a 100644
--- a/test/elixir/test/replication_test.exs
+++ b/test/elixir/test/replication_test.exs
@@ -14,7 +14,10 @@ defmodule ReplicationTest do
# This should probably go into `make elixir` like what
# happens for JavaScript tests.
- @moduletag config: [{"replicator", "startup_jitter", "0"}]
+ @moduletag config: [
+ {"replicator", "startup_jitter", "0"},
+ {"replicator", "stats_update_interval_sec", "0"}
+ ]
test "source database not found with host" do
name = random_db_name()