Skip to content

Commit

Permalink
chore(SpringBootWatcherIntegrationTest): use real path in test withAl…
Browse files Browse the repository at this point in the history
…lRequirementsShouldStartWatcherProcess, issue #3462

Signed-off-by: arman-yekkehkhani <arman.yekkehkhani@gmail.com>
  • Loading branch information
arman-yekkehkhani committed Oct 21, 2024
1 parent 78e8631 commit f96ed17
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ void withAllRequirementsShouldStartWatcherProcess() throws Exception {
assertThat(javaProcessArgumentCaptor.getValue())
.contains("spring-boot: Running: ")
.contains(String.format("%s/bin/java -cp ", testJavaHome))
.contains(String.format("%s/target/spring-boot-lib.jar:%s/target/spring-boot-devtools.jar ", project, project))
.contains(String.format("%s/target/spring-boot-lib.jar:%s/target/spring-boot-devtools.jar ", project.toRealPath(), project.toRealPath()))
.contains("-Dspring.devtools.remote.secret=this-is-a-test ")
.contains("org.springframework.boot.devtools.RemoteSpringApplication ")
.contains("http://localhost:");
Expand Down

0 comments on commit f96ed17

Please sign in to comment.