asterixdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From c...@apache.org
Subject incubator-asterixdb git commit: Fix first-time test failure
Date Thu, 26 May 2016 23:04:39 GMT
Repository: incubator-asterixdb
Updated Branches:
  refs/heads/master fb188dbdc -> e4cf91f12


Fix first-time test failure

Change-Id: Id96760b94afcfadcf884c52bb7c00d82b1b35ef4
Reviewed-on: https://asterix-gerrit.ics.uci.edu/888
Reviewed-by: Ian Maxon <imaxon@apache.org>
Reviewed-by: Jenkins <jenkins@fulliautomatix.ics.uci.edu>
Tested-by: Jenkins <jenkins@fulliautomatix.ics.uci.edu>


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

Branch: refs/heads/master
Commit: e4cf91f12e6a40b472bf925905c8a2a499ed6b68
Parents: fb188db
Author: Chris Hillery <chillery@lambda.nu>
Authored: Thu May 26 14:26:11 2016 -0700
Committer: Chris Hillery <ceej@lambda.nu>
Committed: Thu May 26 16:03:17 2016 -0700

----------------------------------------------------------------------
 .../test/java/org/apache/hyracks/server/test/NCServiceIT.java    | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-asterixdb/blob/e4cf91f1/hyracks-fullstack/hyracks/hyracks-server/src/test/java/org/apache/hyracks/server/test/NCServiceIT.java
----------------------------------------------------------------------
diff --git a/hyracks-fullstack/hyracks/hyracks-server/src/test/java/org/apache/hyracks/server/test/NCServiceIT.java
b/hyracks-fullstack/hyracks/hyracks-server/src/test/java/org/apache/hyracks/server/test/NCServiceIT.java
index 0cc1031..bd99c8c 100644
--- a/hyracks-fullstack/hyracks/hyracks-server/src/test/java/org/apache/hyracks/server/test/NCServiceIT.java
+++ b/hyracks-fullstack/hyracks/hyracks-server/src/test/java/org/apache/hyracks/server/test/NCServiceIT.java
@@ -100,7 +100,9 @@ public class NCServiceIT {
     private static Process invoke(String logfile, String... args) throws Exception {
         ProcessBuilder pb = new ProcessBuilder(args);
         pb.redirectErrorStream(true);
-        File log = new File(LOG_DIR, logfile);
+        File logDir = new File(LOG_DIR);
+        logDir.mkdirs();
+        File log = new File(logDir, logfile);
         log.delete();
         pb.redirectOutput(ProcessBuilder.Redirect.appendTo(log));
         Process p = pb.start();


Mime
View raw message