Skip to content

Commit

Permalink
Merge pull request #502 from axonivy/opensearch
Browse files Browse the repository at this point in the history
XIVY-15081 Change assertions to opensearch in tests
  • Loading branch information
alexsuter authored Sep 30, 2024
2 parents 510d3cd + 46910e8 commit 426a505
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/test/java/ch/ivyteam/ivy/maven/test/TestStartEngine.java
Original file line number Diff line number Diff line change
Expand Up @@ -179,13 +179,13 @@ public void startEngine_copiedEngine_executable() throws Exception {
Process startedProcess = null;
try {
var cacheEngine = mojo.engineDirectory;
assertFileExecutable(cacheEngine.resolve("elasticsearch/bin/elasticsearch"));
assertFileExecutable(cacheEngine.resolve("elasticsearch/bin/elasticsearch.bat"));
assertFileExecutable(cacheEngine.resolve("opensearch/bin/opensearch"));
assertFileExecutable(cacheEngine.resolve("opensearch/bin/opensearch.bat"));

startedProcess = mojo.startEngine();
var engineTarget = mojo.getEngineDir(mojo.project);
assertFileExecutable(engineTarget.resolve("elasticsearch/bin/elasticsearch"));
assertFileExecutable(engineTarget.resolve("elasticsearch/bin/elasticsearch.bat"));
assertFileExecutable(engineTarget.resolve("opensearch/bin/opensearch"));
assertFileExecutable(engineTarget.resolve("opensearch/bin/opensearch.bat"));
} finally {
kill(startedProcess);
}
Expand Down

0 comments on commit 426a505

Please sign in to comment.