Skip to content

Commit

Permalink
Use relative path for test fixture distro path
Browse files Browse the repository at this point in the history
  • Loading branch information
breskeby committed Nov 20, 2023
1 parent c8e06cb commit 8a004ea
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ public void apply(Project project) {
Collection<String> services = fixtureApps.getFixtureApplications().get(appKey);
if (services.isEmpty() == false) {
String appHomeKey = "fixture." + appKey + ".home";
applySysProps.accept(appHomeKey, file.getAbsolutePath());
applySysProps.accept(appHomeKey, test.getWorkingDir().toPath().relativize(file.toPath()).toString());
AtomicInteger index = new AtomicInteger();
services.forEach(
(serviceName) -> applySysProps.accept("fixture." + appKey + ".service." + index.getAndIncrement(), serviceName)
Expand Down

0 comments on commit 8a004ea

Please sign in to comment.