Github user robertdale commented on a diff in the pull request:
https://github.com/apache/tinkerpop/pull/800#discussion_r169305818
--- Diff:
gremlin-server/src/test/java/org/apache/tinkerpop/gremlin/server/GremlinServerIntegrateTest.java
---
@@ -293,6 +312,21 @@ private static SslContext createServerSslContext() {
return scriptEngineConf;
}
+ @Test
+ public void shouldPingChannelIfClientDies() throws Exception {
--- End diff --
You should be able test for a dead client by opening a raw WebSocket, or
even TCP, connection and simply not responding to anything.
Or separately, just disable the idleWriteLimit (keepalive) and connect.
Then it should timeout the client.
---