kudu-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From danburk...@apache.org
Subject [5/6] kudu git commit: [dist-test] Fix the descriptions of Java tests
Date Thu, 23 Aug 2018 22:51:24 GMT
[dist-test] Fix the descriptions of Java tests

Removes the extra trailing “.isolate” in the descriptions
of Java tests run on dist-test.

Change-Id: I6fd893e46b0cb2f3c23900130dc2c904d909a2ae
Reviewed-on: http://gerrit.cloudera.org:8080/11300
Tested-by: Kudu Jenkins
Reviewed-by: Andrew Wong <awong@cloudera.com>


Project: http://git-wip-us.apache.org/repos/asf/kudu/repo
Commit: http://git-wip-us.apache.org/repos/asf/kudu/commit/a8e33356
Tree: http://git-wip-us.apache.org/repos/asf/kudu/tree/a8e33356
Diff: http://git-wip-us.apache.org/repos/asf/kudu/diff/a8e33356

Branch: refs/heads/master
Commit: a8e3335653aef465ff6c3a900c92d9788f1dc8a8
Parents: 6ae9ecb
Author: Grant Henke <granthenke@apache.org>
Authored: Thu Aug 23 11:19:34 2018 -0500
Committer: Grant Henke <granthenke@apache.org>
Committed: Thu Aug 23 18:45:48 2018 +0000

----------------------------------------------------------------------
 .../main/groovy/org/apache/kudu/gradle/DistTestTask.java    | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/kudu/blob/a8e33356/java/buildSrc/src/main/groovy/org/apache/kudu/gradle/DistTestTask.java
----------------------------------------------------------------------
diff --git a/java/buildSrc/src/main/groovy/org/apache/kudu/gradle/DistTestTask.java b/java/buildSrc/src/main/groovy/org/apache/kudu/gradle/DistTestTask.java
index bebd604..3645017 100644
--- a/java/buildSrc/src/main/groovy/org/apache/kudu/gradle/DistTestTask.java
+++ b/java/buildSrc/src/main/groovy/org/apache/kudu/gradle/DistTestTask.java
@@ -105,16 +105,17 @@ public class DistTestTask extends DefaultTask {
     for (Test t : testTasks) {
       List<String> testClassNames = collectTestNames(t);
       for (String c : testClassNames) {
-        File isoFile = new File(outputDir, c + ".isolate");
+        File isolateFile = new File(outputDir, c + ".isolate");
+        File isolatedFile = new File(outputDir, c + ".isolated");
         File genJsonFile = new File(outputDir, c + ".gen.json");
 
-        Files.write(genIsolate(outputDir.toPath(), t, c, baseDeps), isoFile, UTF_8);
+        Files.write(genIsolate(outputDir.toPath(), t, c, baseDeps), isolateFile, UTF_8);
 
         // Write the gen.json
         GenJson gen = new GenJson();
         gen.args = ImmutableList.of(
-            "-i", isoFile.toString(),
-            "-s", isoFile.toString() + ".isolated");
+            "-i", isolateFile.toString(),
+            "-s", isolatedFile.toString());
         gen.dir = outputDir.toString();
         gen.name = c;
         Files.write(GSON.toJson(gen), genJsonFile, UTF_8);


Mime
View raw message