Set Reactor Netty's shutdownQuietPeriod to 0 when using devtools

See gh-33855
This commit is contained in:
Moritz Halbritter
2023-01-17 13:08:16 +01:00
parent 53f0840818
commit 2a843d1853
8 changed files with 133 additions and 23 deletions

View File

@@ -1,5 +1,5 @@
/*
* Copyright 2012-2022 the original author or authors.
* Copyright 2012-2023 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.
@@ -56,7 +56,7 @@ class ClientHttpConnectorAutoConfigurationTests {
BeanDefinition connectorDefinition = context.getBeanFactory()
.getBeanDefinition("reactorClientHttpConnector");
assertThat(connectorDefinition.isLazyInit()).isTrue();
assertThat(context).hasBean("reactorClientResourceFactory");
assertThat(context).hasSingleBean(ReactorResourceFactory.class);
});
}