Don't wait for netty to shut down (#6271)

This commit is contained in:
Lauri Tulmin 2022-07-06 23:00:27 +03:00 committed by GitHub
parent 3e08f36cfa
commit 81de0d8906
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -50,7 +50,7 @@ class Netty40ClientSslTest extends AgentInstrumentationSpecification {
def cleanupSpec() {
server.stop().get(10, TimeUnit.SECONDS)
eventLoopGroup.shutdownGracefully().sync()
eventLoopGroup.shutdownGracefully()
}
def "should fail SSL handshake"() {

View File

@ -52,7 +52,7 @@ class Netty41ClientSslTest extends AgentInstrumentationSpecification {
def cleanupSpec() {
server.stop().get(10, TimeUnit.SECONDS)
eventLoopGroup.shutdownGracefully().sync()
eventLoopGroup.shutdownGracefully()
}
def "should fail SSL handshake"() {