You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@kudu.apache.org by da...@apache.org on 2018/08/23 22:51:24 UTC

[5/6] kudu git commit: [dist-test] Fix the descriptions of Java tests

[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 <aw...@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 <gr...@apache.org>
Authored: Thu Aug 23 11:19:34 2018 -0500
Committer: Grant Henke <gr...@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);