geode-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From heyba...@apache.org
Subject [geode-benchmarks] branch GEODE-6340 updated: and again
Date Thu, 31 Jan 2019 19:06:42 GMT
This is an automated email from the ASF dual-hosted git repository.

heybales pushed a commit to branch GEODE-6340
in repository https://gitbox.apache.org/repos/asf/geode-benchmarks.git


The following commit(s) were added to refs/heads/GEODE-6340 by this push:
     new 847188c  and again
847188c is described below

commit 847188c88847bb96e33192c4983ada7baed406f6
Author: Helena A. Bales <hbales@pivotal.io>
AuthorDate: Thu Jan 31 11:06:29 2019 -0800

    and again
---
 harness/src/main/java/org/apache/geode/perftest/jvms/RemoteJVMs.java   | 2 +-
 .../main/java/org/apache/geode/perftest/runner/DefaultTestRunner.java  | 3 ++-
 2 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/harness/src/main/java/org/apache/geode/perftest/jvms/RemoteJVMs.java b/harness/src/main/java/org/apache/geode/perftest/jvms/RemoteJVMs.java
index 317cae3..0609f46 100644
--- a/harness/src/main/java/org/apache/geode/perftest/jvms/RemoteJVMs.java
+++ b/harness/src/main/java/org/apache/geode/perftest/jvms/RemoteJVMs.java
@@ -73,7 +73,7 @@ public class RemoteJVMs implements AutoCloseable {
    * Copy results to the provided output directory
    */
   public void copyResults(File benchmarkOutput) throws IOException {
-    benchmarkOutput.mkdirs();
+//    benchmarkOutput.mkdirs();
     for (JVMMapping jvm : jvmMappings) {
       infra.copyFromNode(jvm.getNode(), jvm.getOutputDir(),
           new File(benchmarkOutput, jvm.getRole() + "-" + jvm.getId()));
diff --git a/harness/src/main/java/org/apache/geode/perftest/runner/DefaultTestRunner.java
b/harness/src/main/java/org/apache/geode/perftest/runner/DefaultTestRunner.java
index 3b9eb8e..61dee11 100644
--- a/harness/src/main/java/org/apache/geode/perftest/runner/DefaultTestRunner.java
+++ b/harness/src/main/java/org/apache/geode/perftest/runner/DefaultTestRunner.java
@@ -67,11 +67,12 @@ public class DefaultTestRunner implements TestRunner {
       throw new IllegalStateException(
           "Benchmark output directory already exists: " + benchmarkOutput.getPath());
     }
+    benchmarkOutput.mkdirs();
 
     String metadata = System.getProperty("TEST_METADATA");
     if(!(metadata == null) && !metadata.isEmpty()) {
       File metadataOutput = new File(outputDir, "metadata.json");
-//      metadataOutput.mkdir();
+      metadataOutput.mkdirs();
       metadataOutput.createNewFile();
       PrintWriter metadataWriter = new PrintWriter(metadataOutput);
 


Mime
View raw message