Issue 1:
I have searched the issues of this repository and believe that this is not a duplicate.

I have checked the FAQ of this repository and believe that this is not a duplicate.

Environment

Dubbo version: 2.7.3

spring boot webflux: 2.1.6

Operating System version: MacOS

Java version: 1.8

Steps to reproduce this issue

https://github.com/zjw2011/testdubbo

Expected Result

What do you expected from the above steps？

Actual Result

What actually happens?

If there is an exception, please attach the exception trace:

Exception in thread "Thread-3" java.lang.IllegalStateException: java.lang.IllegalStateException: Socket couldn't be stopped within 3000ms
at org.springframework.boot.web.reactive.context.ReactiveWebServerApplicationContext$ServerManager.stop(ReactiveWebServerApplicationContext.java:233)
at org.springframework.boot.web.reactive.context.ReactiveWebServerApplicationContext.stopAndReleaseReactiveWebServer(ReactiveWebServerApplicationContext.java:157)
at org.springframework.boot.web.reactive.context.ReactiveWebServerApplicationContext.onClose(ReactiveWebServerApplicationContext.java:151)
at org.springframework.context.support.AbstractApplicationContext.doClose(AbstractApplicationContext.java:1032)
at org.springframework.context.support.AbstractApplicationContext$1.run(AbstractApplicationContext.java:945)
Caused by: java.lang.IllegalStateException: Socket couldn't be stopped within 3000ms
at reactor.netty.DisposableChannel.disposeNow(DisposableChannel.java:98)
at reactor.netty.DisposableChannel.disposeNow(DisposableChannel.java:82)
at org.springframework.boot.web.embedded.netty.NettyWebServer.stop(NettyWebServer.java:120)
at org.springframework.boot.web.reactive.context.ReactiveWebServerApplicationContext$ServerManager.stop(ReactiveWebServerApplicationContext.java:230)
... 4 more

Issue 2:
I have searched the issues of this repository and believe that this is not a duplicate.

I have checked the FAQ of this repository and believe that this is not a duplicate.

Environment

Dubbo version: 2.7.4-SNAPSHOT

Operating System version: macOS10.12.6

Java version: 1.8

打包的时候测试用例无法通过，dubbo-metadata-report-etcd，无论是本地还是travis-ci中跑。

[INFO]
[INFO] --- maven-surefire-plugin:2.22.1:test (default-test) @ dubbo-metadata-report-etcd ---
[INFO]
[INFO] -------------------------------------------------------
[INFO] T E S T S
[INFO] -------------------------------------------------------
[INFO] Running org.apache.dubbo.metadata.store.etcd.EtcdMetadataReportTest
SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
SLF4J: Defaulting to no-operation (NOP) logger implementation
SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.
â„¹ï¸Ž Checking the system...
âœ” Docker version should be at least 1.6.0
âœ” Docker environment should have more than 2GB free disk space
log4j:WARN No appenders could be found for logger (io.netty.util.internal.logging.InternalLoggerFactory).
log4j:WARN Please initialize the log4j system properly.
log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more info.
[ERROR] Tests run: 2, Failures: 0, Errors: 1, Skipped: 1, Time elapsed: 11.156 s <<< FAILURE! - in org.apache.dubbo.metadata.store.etcd.EtcdMetadataReportTest
[ERROR] testStoreConsumer Time elapsed: 4.239 s <<< ERROR!
java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
at org.apache.dubbo.metadata.store.etcd.EtcdMetadataReportTest.testStoreConsumer(EtcdMetadataReportTest.java:104)

[INFO]
[INFO] Results:
[INFO]
[ERROR] Errors:
[ERROR] EtcdMetadataReportTest.testStoreConsumer:104 Â» IndexOutOfBounds Index: 0, Size...