Skip to content

Commit

Permalink
Update reactor-netty-http/src/test/java/reactor/netty/http/client/Htt…
Browse files Browse the repository at this point in the history
…pClientTest.java
  • Loading branch information
violetagg authored Jan 8, 2025
1 parent 28c5661 commit 7b88887
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -622,6 +622,8 @@ void sslExchangeRelativeGet() throws SSLException {
@ParameterizedTest
@ValueSource(booleans = {true, false})
void testMaxConnectionPools(boolean withMaxConnectionPools) throws SSLException {
Logger spyLogger = Mockito.spy(log);
Loggers.useCustomLoggers(s -> spyLogger);

ConnectionProvider connectionProvider = withMaxConnectionPools ? ConnectionProvider
.builder("max-connection-pools")
Expand All @@ -632,8 +634,6 @@ void testMaxConnectionPools(boolean withMaxConnectionPools) throws SSLException

try {
ArgumentCaptor<String> argumentCaptor = ArgumentCaptor.forClass(String.class);
Logger spyLogger = Mockito.spy(log);
Loggers.useCustomLoggers(s -> spyLogger);

SslContext sslServer = SslContextBuilder
.forServer(ssc.certificate(), ssc.privateKey())
Expand Down

0 comments on commit 7b88887

Please sign in to comment.