Skip to content

Commit

Permalink
- Update spring-boot to 3.2.5 resteasy#323
Browse files Browse the repository at this point in the history
- Trying to remove the random test failures.
  • Loading branch information
liweinan committed May 7, 2024
1 parent 2fa7ba1 commit 787638b
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
<resteasy.spring.version>3.1.2.Final</resteasy.spring.version>
<version.org.jboss.resteasy>6.2.8.Final</version.org.jboss.resteasy>
<springboot.version>3.2.1</springboot.version>
<springboot.version>3.2.5</springboot.version>
<ver.testng>7.10.1</ver.testng>
<ver.wildfly.maven.plugin>5.0.0.Final</ver.wildfly.maven.plugin>
<wildfly.version>28.0.1.Final</wildfly.version>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,13 @@ CtxAndPort configureAndStartApp(Properties properties, boolean assertPerfectLog,
// InvalidClassTest -> java.lang.AssertionError: Application run failed
// Which comes from: spring-boot-project/spring-boot/src/main/java/org/springframework/boot/SpringApplication.java:818: logger.error("Application run failed", failure);
final ConfigurableApplicationContext ctx = builder.run("--debug", "--server.port=" + port);

try {
Thread.sleep(1000);
} catch (InterruptedException e) {
throw new RuntimeException(e);
}

ctx.registerShutdownHook();

return new CtxAndPort(ctx, port);
Expand Down

0 comments on commit 787638b

Please sign in to comment.