Skip to content

Commit

Permalink
Fix jetty tests
Browse files Browse the repository at this point in the history
  • Loading branch information
JonasKunz committed Nov 29, 2023
1 parent 6a43339 commit c24dc02
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -78,8 +78,8 @@ public static void beforeClass() {
public void setUp() {
doReturn(true).when(config.getConfig(ReporterConfiguration.class)).isReportSynchronously();
restTemplate = new TestRestTemplate(new RestTemplateBuilder()
.setConnectTimeout(Duration.ZERO)
.setReadTimeout(Duration.ZERO)
.setConnectTimeout(Duration.ofSeconds(10))
.setReadTimeout(Duration.ofSeconds(10))
.basicAuthentication("username", "password"));
reporter.reset();
}
Expand Down
5 changes: 0 additions & 5 deletions integration-tests/spring-boot-3/spring-boot-3-jetty/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,6 @@
</properties>

<dependencies>
<dependency>
<groupId>jakarta.servlet</groupId>
<artifactId>jakarta.servlet-api</artifactId>
<version>5.0.0</version> <!-- jetty doesn't support servlet API 6.x -->
</dependency>
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>spring-boot-2-base</artifactId>
Expand Down

0 comments on commit c24dc02

Please sign in to comment.