Skip to content

Commit

Permalink
test: modified outputDirectory in watchContext.buildContext (#2678)
Browse files Browse the repository at this point in the history
  • Loading branch information
l3002 authored Feb 19, 2024
1 parent 09071d1 commit c850332
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -89,12 +89,13 @@ void setUp(@TempDir Path tempDir) throws IOException {
.postExec("ls -lt /deployments")
.build())
.build();
Path path = Files.createDirectory(tempDir.resolve("target"));
watchContext = WatchContext.builder()
.buildContext(JKubeConfiguration.builder()
.project(JavaProject.builder()
.baseDirectory(tempDir.toFile())
.build())
.outputDirectory(Files.createDirectory(tempDir.resolve("target")).toFile().getAbsolutePath())
.outputDirectory("target")
.build())
.build();
}
Expand Down

0 comments on commit c850332

Please sign in to comment.