Skip to content
Permalink
Browse files
Update Asterix dependency
Change-Id: I6b8fdeda4c5fe31c0c9db1ed235727be2958bd77
  • Loading branch information
parshimers committed Oct 5, 2018
1 parent d0ccc57 commit 3d421ee3001c961caddff5cdc5b1f8d6402b1d2d
Showing 3 changed files with 9 additions and 11 deletions.
@@ -51,6 +51,8 @@ public class BADRecoveryTest {
private static File installerTargetPath;
private static String ncServiceHomeDirName;
private static String ncServiceHomePath;
private static String ncServiceSubDirName;
private static String ncServiceSubPath;
private static String scriptHomePath;
private static String reportPath;

@@ -63,15 +65,11 @@ public static void setUp() throws Exception {
installerTargetPath =
new File(new File(asterixInstallerPath.getParentFile().getParentFile(), "asterix-server"), "target");
reportPath = new File(installerTargetPath, "failsafe-reports").getAbsolutePath();
ncServiceHomeDirName = installerTargetPath.list(new FilenameFilter() {
@Override
public boolean accept(File dir, String name) {
return new File(dir, name).isDirectory() && name.startsWith("asterix-server")
&& name.endsWith("binary-assembly");
}
})[0];
ncServiceHomePath = new File(installerTargetPath, ncServiceHomeDirName).getAbsolutePath();

ncServiceSubDirName =
installerTargetPath.list((dir, name) -> name.matches("asterix-server.*binary-assembly"))[0];
ncServiceSubPath = new File(installerTargetPath, ncServiceSubDirName).getAbsolutePath();
ncServiceHomeDirName = new File(ncServiceSubPath).list(((dir, name) -> name.matches("apache-asterixdb.*")))[0];
ncServiceHomePath = new File(ncServiceSubPath, ncServiceHomeDirName).getAbsolutePath();
pb = new ProcessBuilder();
env = pb.environment();
env.put("JAVA_HOME", System.getProperty("java.home"));
@@ -30,7 +30,7 @@
<!-- project coordinates -->
<groupId>org.apache.asterix</groupId>
<artifactId>asterix-opt-bom</artifactId>
<version>0.9.4-SNAPSHOT</version>
<version>0.9.5-SNAPSHOT</version>
<packaging>pom</packaging>
<name>asterix-opt-bom</name>
<description>BAD Extension to AsterixDB</description>
@@ -25,7 +25,7 @@
<parent>
<groupId>org.apache.asterix</groupId>
<artifactId>apache-asterixdb</artifactId>
<version>0.9.4-SNAPSHOT</version>
<version>0.9.5-SNAPSHOT</version>
</parent>
<modules>
<module>asterix-bad</module>

0 comments on commit 3d421ee

Please sign in to comment.