mirror of
https://github.com/Athou/commafeed.git
synced 2026-10-06 20:36:27 +00:00
Merge pull request #2244 from Athou/renovate/quarkus.version
fix(deps): update quarkus.version to v3.38.0
This commit is contained in:
@@ -13,7 +13,7 @@
|
|||||||
<packaging>quarkus</packaging>
|
<packaging>quarkus</packaging>
|
||||||
|
|
||||||
<properties>
|
<properties>
|
||||||
<quarkus.version>3.37.4</quarkus.version>
|
<quarkus.version>3.38.0</quarkus.version>
|
||||||
<querydsl.version>7.5</querydsl.version>
|
<querydsl.version>7.5</querydsl.version>
|
||||||
<rome.version>2.1.0</rome.version>
|
<rome.version>2.1.0</rome.version>
|
||||||
|
|
||||||
|
|||||||
@@ -12,7 +12,6 @@ import io.quarkus.runtime.configuration.MemorySize;
|
|||||||
import java.io.ByteArrayOutputStream;
|
import java.io.ByteArrayOutputStream;
|
||||||
import java.io.IOException;
|
import java.io.IOException;
|
||||||
import java.io.OutputStream;
|
import java.io.OutputStream;
|
||||||
import java.math.BigInteger;
|
|
||||||
import java.net.NoRouteToHostException;
|
import java.net.NoRouteToHostException;
|
||||||
import java.net.SocketTimeoutException;
|
import java.net.SocketTimeoutException;
|
||||||
import java.net.UnknownHostException;
|
import java.net.UnknownHostException;
|
||||||
@@ -71,11 +70,10 @@ class HttpGetterTest {
|
|||||||
Mockito.when(config.httpClient().socketTimeout()).thenReturn(Duration.ofSeconds(30));
|
Mockito.when(config.httpClient().socketTimeout()).thenReturn(Duration.ofSeconds(30));
|
||||||
Mockito.when(config.httpClient().responseTimeout()).thenReturn(Duration.ofSeconds(30));
|
Mockito.when(config.httpClient().responseTimeout()).thenReturn(Duration.ofSeconds(30));
|
||||||
Mockito.when(config.httpClient().connectionTimeToLive()).thenReturn(Duration.ofSeconds(30));
|
Mockito.when(config.httpClient().connectionTimeToLive()).thenReturn(Duration.ofSeconds(30));
|
||||||
Mockito.when(config.httpClient().maxResponseSize())
|
Mockito.when(config.httpClient().maxResponseSize()).thenReturn(MemorySize.of("10000"));
|
||||||
.thenReturn(new MemorySize(new BigInteger("10000")));
|
|
||||||
Mockito.when(config.httpClient().cache().enabled()).thenReturn(true);
|
Mockito.when(config.httpClient().cache().enabled()).thenReturn(true);
|
||||||
Mockito.when(config.httpClient().cache().maximumMemorySize())
|
Mockito.when(config.httpClient().cache().maximumMemorySize())
|
||||||
.thenReturn(new MemorySize(new BigInteger("100000")));
|
.thenReturn(MemorySize.of("100000"));
|
||||||
Mockito.when(config.httpClient().cache().expiration()).thenReturn(Duration.ofMinutes(1));
|
Mockito.when(config.httpClient().cache().expiration()).thenReturn(Duration.ofMinutes(1));
|
||||||
Mockito.when(config.feedRefresh().httpThreads()).thenReturn(3);
|
Mockito.when(config.feedRefresh().httpThreads()).thenReturn(3);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user