You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@geode.apache.org by nn...@apache.org on 2021/05/04 17:23:23 UTC

[geode] branch support/1.14 updated: force all upgradeTest and integrationTest tasks to depend on installDist

This is an automated email from the ASF dual-hosted git repository.

nnag pushed a commit to branch support/1.14
in repository https://gitbox.apache.org/repos/asf/geode.git


The following commit(s) were added to refs/heads/support/1.14 by this push:
     new 3c3cbe4  force all upgradeTest and integrationTest tasks to depend on installDist
3c3cbe4 is described below

commit 3c3cbe4721f7b4d2d8f37182e90ae2061bcb742f
Author: Robert Houghton <rh...@pivotal.io>
AuthorDate: Wed Apr 28 10:28:13 2021 -0700

    force all upgradeTest and integrationTest tasks to depend on installDist
---
 geode-assembly/build.gradle | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/geode-assembly/build.gradle b/geode-assembly/build.gradle
index 3ee8c2f..3232b59 100755
--- a/geode-assembly/build.gradle
+++ b/geode-assembly/build.gradle
@@ -698,3 +698,12 @@ acceptanceTest {
 }
 
 apply from: Paths.get("${rootDir}", 'gradle', 'japicmp.gradle')
+
+def needyTestNames = ['upgradeTest', 'integrationTest']
+dependentProjectNames.each { depProj ->
+  needyTestNames.each { needyTest ->
+    project(depProj).tasks.named(needyTest).configure {
+      dependsOn(tasks.named('installDist'))
+    }
+  }
+}