From c09b5a2294f7d4357ed0484f7e1d6c5088b9b450 Mon Sep 17 00:00:00 2001
From: Rohan Garg <7731512+rohangarg@users.noreply.github.com>
Date: Thu, 30 Jun 2022 10:29:26 +0530
Subject: [PATCH] Fix skipTests build flag (#12716)
* fix skipTests
* Skip console UTs with skipTests
* Use skipTests in skip-tests profile
---
pom.xml | 8 ++++----
web-console/pom.xml | 1 +
2 files changed, 5 insertions(+), 4 deletions(-)
diff --git a/pom.xml b/pom.xml
index ebe98935571..8aa6b4c71b3 100644
--- a/pom.xml
+++ b/pom.xml
@@ -132,8 +132,9 @@
the "new" integration tests. To skip just the unit tests (but run the
new integration tests by setting the required profile), use -DskipUTs=true.
-->
- false
- false
+ false
+ ${skipTests}
+ ${skipTests}
@@ -1935,8 +1936,7 @@
false
- true
- true
+ true
true
diff --git a/web-console/pom.xml b/web-console/pom.xml
index ebad222efae..c6bfc328f50 100644
--- a/web-console/pom.xml
+++ b/web-console/pom.xml
@@ -45,6 +45,7 @@
frontend-maven-plugin
${druid.console.skip}
+ ${skipUTs}