summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeng Hui Jiang <jiangph@cn.ibm.com>2020-09-30 23:04:45 +0800
committerJuanjo Rodriguez <jjrodrig@gmail.com>2020-10-07 09:13:30 +0200
commit8bea5f257c00db3ddc7f224eefa08ef1da4bfb89 (patch)
treeb264bbeec7ef6200d34cf921b9846bc533158214
parentb616cc17873bb45bdbe88efed6a93ecaafe39669 (diff)
downloadcouchdb-8bea5f257c00db3ddc7f224eefa08ef1da4bfb89.tar.gz
Add module tag to elixir test cases (#3178)
Some elixir test cases don't have actual module tag. Add tags to help include or exclude them in CI test.
-rw-r--r--test/elixir/test/update_documents_test.exs1
-rw-r--r--test/elixir/test/view_collation_raw_test.exs1
-rw-r--r--test/elixir/test/view_collation_test.exs1
-rw-r--r--test/elixir/test/view_compaction_test.exs1
-rw-r--r--test/elixir/test/view_conflicts_test.exs1
-rw-r--r--test/elixir/test/view_errors_test.exs1
-rw-r--r--test/elixir/test/view_include_docs_test.exs1
-rw-r--r--test/elixir/test/view_multi_key_all_docs_test.exs1
-rw-r--r--test/elixir/test/view_multi_key_design_test.exs1
-rw-r--r--test/elixir/test/view_sandboxing_test.exs1
10 files changed, 10 insertions, 0 deletions
diff --git a/test/elixir/test/update_documents_test.exs b/test/elixir/test/update_documents_test.exs
index fcbdbeaca..bd5e0f1cc 100644
--- a/test/elixir/test/update_documents_test.exs
+++ b/test/elixir/test/update_documents_test.exs
@@ -1,6 +1,7 @@
defmodule UpdateDocumentsTest do
use CouchTestCase
+ @moduletag :docs
@moduletag kind: :single_node
@ddoc %{
diff --git a/test/elixir/test/view_collation_raw_test.exs b/test/elixir/test/view_collation_raw_test.exs
index 1bcd397d9..b9c40f6d8 100644
--- a/test/elixir/test/view_collation_raw_test.exs
+++ b/test/elixir/test/view_collation_raw_test.exs
@@ -6,6 +6,7 @@ defmodule ViewCollationRawTest do
This is a port of the view_collation_raw.js suite
"""
+ @moduletag :view_collation_raw
@moduletag kind: :single_node
@values [
diff --git a/test/elixir/test/view_collation_test.exs b/test/elixir/test/view_collation_test.exs
index e18e1e26f..0dabd501b 100644
--- a/test/elixir/test/view_collation_test.exs
+++ b/test/elixir/test/view_collation_test.exs
@@ -6,6 +6,7 @@ defmodule ViewCollationTest do
This is a port of the view_collation.js suite
"""
+ @moduletag :view_collation
@moduletag kind: :single_node
@values [
diff --git a/test/elixir/test/view_compaction_test.exs b/test/elixir/test/view_compaction_test.exs
index 5bdd2eac1..ed7461aa1 100644
--- a/test/elixir/test/view_compaction_test.exs
+++ b/test/elixir/test/view_compaction_test.exs
@@ -6,6 +6,7 @@ defmodule ViewCompactionTest do
This is a port of the view_compaction.js suite
"""
+ @moduletag :view_compaction
@moduletag kind: :single_node
@num_docs 1000
diff --git a/test/elixir/test/view_conflicts_test.exs b/test/elixir/test/view_conflicts_test.exs
index 9261b1ef0..89d9cb4eb 100644
--- a/test/elixir/test/view_conflicts_test.exs
+++ b/test/elixir/test/view_conflicts_test.exs
@@ -1,6 +1,7 @@
defmodule ViewConflictsTest do
use CouchTestCase
+ @moduletag :view_conflicts
@moduletag kind: :single_node
setup_all do
diff --git a/test/elixir/test/view_errors_test.exs b/test/elixir/test/view_errors_test.exs
index 80067ec6c..1e8f880a6 100644
--- a/test/elixir/test/view_errors_test.exs
+++ b/test/elixir/test/view_errors_test.exs
@@ -1,6 +1,7 @@
defmodule ViewErrorsTest do
use CouchTestCase
+ @moduletag :view_errors
@moduletag kind: :single_node
@document %{integer: 1, string: "1", array: [1, 2, 3]}
diff --git a/test/elixir/test/view_include_docs_test.exs b/test/elixir/test/view_include_docs_test.exs
index a77753058..1c2ab5731 100644
--- a/test/elixir/test/view_include_docs_test.exs
+++ b/test/elixir/test/view_include_docs_test.exs
@@ -1,6 +1,7 @@
defmodule ViewIncludeDocsTest do
use CouchTestCase
+ @moduletag :view_include_docs
@moduletag kind: :single_node
@ddoc %{
diff --git a/test/elixir/test/view_multi_key_all_docs_test.exs b/test/elixir/test/view_multi_key_all_docs_test.exs
index 6426eb2c2..c98390580 100644
--- a/test/elixir/test/view_multi_key_all_docs_test.exs
+++ b/test/elixir/test/view_multi_key_all_docs_test.exs
@@ -1,6 +1,7 @@
defmodule ViewMultiKeyAllDocsTest do
use CouchTestCase
+ @moduletag :view_multi_key_all_docs
@moduletag kind: :single_node
@keys ["10", "15", "30", "37", "50"]
diff --git a/test/elixir/test/view_multi_key_design_test.exs b/test/elixir/test/view_multi_key_design_test.exs
index 1ea3fe334..03cdc574d 100644
--- a/test/elixir/test/view_multi_key_design_test.exs
+++ b/test/elixir/test/view_multi_key_design_test.exs
@@ -1,6 +1,7 @@
defmodule ViewMultiKeyDesignTest do
use CouchTestCase
+ @moduletag :view_multi_key_design
@moduletag kind: :single_node
@keys [10, 15, 30, 37, 50]
diff --git a/test/elixir/test/view_sandboxing_test.exs b/test/elixir/test/view_sandboxing_test.exs
index 99a9c0de4..02087ac60 100644
--- a/test/elixir/test/view_sandboxing_test.exs
+++ b/test/elixir/test/view_sandboxing_test.exs
@@ -1,6 +1,7 @@
defmodule ViewSandboxingTest do
use CouchTestCase
+ @moduletag :view_sandboxing
@moduletag kind: :single_node
@document %{integer: 1, string: "1", array: [1, 2, 3]}