Code polish
This commit is contained in:
parent
25c20fbf3f
commit
feb146e8d8
|
@ -67,7 +67,7 @@ class PingPongTest : BaseTest() {
|
||||||
fail = "Error during processing. $throwable"
|
fail = "Error during processing. $throwable"
|
||||||
}
|
}
|
||||||
|
|
||||||
server.onConnect { connection ->
|
server.onConnect { _ ->
|
||||||
server.forEachConnection { connection ->
|
server.forEachConnection { connection ->
|
||||||
connection.logger.error("server connection: $connection")
|
connection.logger.error("server connection: $connection")
|
||||||
}
|
}
|
||||||
|
@ -87,9 +87,7 @@ class PingPongTest : BaseTest() {
|
||||||
|
|
||||||
|
|
||||||
client.onConnect { connection ->
|
client.onConnect { connection ->
|
||||||
client.forEachConnection { connection ->
|
connection.logger.error("client connection: $connection")
|
||||||
connection.logger.error("client connection: $connection")
|
|
||||||
}
|
|
||||||
|
|
||||||
fail = null
|
fail = null
|
||||||
connection.send(data)
|
connection.send(data)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user