From f048f27d80e1042ba6c4ba9336f99e0b73fc7c9c Mon Sep 17 00:00:00 2001 From: Brian Clozel Date: Mon, 24 Feb 2020 18:15:17 +0100 Subject: [PATCH] Configure Reactor Netty quiet shutdown period in tests See gh-24538 --- .../function/client/WebClientDataBufferAllocatingTests.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/spring-webflux/src/test/java/org/springframework/web/reactive/function/client/WebClientDataBufferAllocatingTests.java b/spring-webflux/src/test/java/org/springframework/web/reactive/function/client/WebClientDataBufferAllocatingTests.java index 555c3f5180..5dd289cba6 100644 --- a/spring-webflux/src/test/java/org/springframework/web/reactive/function/client/WebClientDataBufferAllocatingTests.java +++ b/spring-webflux/src/test/java/org/springframework/web/reactive/function/client/WebClientDataBufferAllocatingTests.java @@ -1,5 +1,5 @@ /* - * Copyright 2002-2019 the original author or authors. + * Copyright 2002-2020 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -63,6 +63,7 @@ class WebClientDataBufferAllocatingTests extends AbstractDataBufferAllocatingTes @BeforeAll void setUpReactorResourceFactory() { + this.factory.setShutdownQuietPeriod(Duration.ofMillis(100)); this.factory.afterPropertiesSet(); }