summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLuca Milanesio <luca.milanesio@gmail.com>2020-10-08 23:17:03 +0100
committerLuca Milanesio <luca.milanesio@gmail.com>2020-10-08 23:17:03 +0100
commit882c6147720227c161a2fb573c79cfc683e70379 (patch)
treee8b1ef08e8b9617207caa5185f09bd2056659057
parent6d0b12c83001805bfc740e3dabd37223acc294d8 (diff)
Split replication plugins tests in two groups
Run unit-tests and integration tests in parallel by splitting them into two separate tasks. This also allows to potentially identify which group of tests is flaky, because Bazel would flag one or the other in case of instability. Change-Id: I21f969a17e3653dfc5ab93d71cc6955024fc2d8f
-rw-r--r--BUILD12
1 files changed, 12 insertions, 0 deletions
diff --git a/BUILD b/BUILD
index 50615d8..72a3fc8 100644
--- a/BUILD
+++ b/BUILD
@@ -23,6 +23,18 @@ junit_tests(
name = "replication_tests",
srcs = glob([
"src/test/java/**/*Test.java",
+ ]),
+ tags = ["replication"],
+ visibility = ["//visibility:public"],
+ deps = PLUGIN_TEST_DEPS + PLUGIN_DEPS + [
+ ":replication__plugin",
+ ":replication_util",
+ ],
+)
+
+junit_tests(
+ name = "replication_it",
+ srcs = glob([
"src/test/java/**/*IT.java",
]),
tags = ["replication"],