Skip to content

Commit

Permalink
test: generate graph directories in ors-engine/target/test-output/graphs
Browse files Browse the repository at this point in the history
  • Loading branch information
jhaeu committed Nov 27, 2024
1 parent 4acd9a1 commit 295f221
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,8 @@ void buildGraphWithPreprocessedData() throws Exception {
ORSGraphHopper gh = createORSGraphHoopperWithOsmFile("repoDir", "https://my.domain.com/");
GraphManagementRuntimeProperties managementProps = GraphManagementRuntimeProperties.Builder.empty()
.withEnabled(true)
.withLocalProfileName("buildGraphWithPreprocessedData")
.withLocalGraphsRootAbsPath("target/test-output/graphs")
.withRepoName("repoName")
.withRepoBaseUri("http://my.domain.com")
.build();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@ void useGraphRepository(boolean expectUseRepo, boolean enable, String repoName,
.withEnabled(enable)
.withRepoName(repoName)
.withRepoBaseUri(baseUri)
.withLocalGraphsRootAbsPath("target/test-output/graphs")
.withLocalProfileName("useGraphRepository")
.build();
ORSGraphManager orsGraphManager = ORSGraphManager.initializeGraphManagement(managementProps);
assertNotNull(orsGraphManager);
Expand Down

0 comments on commit 295f221

Please sign in to comment.