Fixed #1766 - Fixing test case results
This commit is contained in:
parent
1ba12a4b3d
commit
9f28d26cff
|
@ -247,7 +247,7 @@ public class DelayedStartClientOnServerTest
|
|||
assertThat("Response", response, startsWith("Connected to ws://"));
|
||||
List<String> threadNames = getThreadNames(server);
|
||||
assertNoHttpClientPoolThreads(threadNames);
|
||||
assertThat("Threads", threadNames, hasItem(containsString("Jsr356Client@")));
|
||||
assertThat("Threads", threadNames, hasItem(containsString("WebSocketContainer@")));
|
||||
}
|
||||
finally
|
||||
{
|
||||
|
|
|
@ -392,11 +392,7 @@ public class WebSocketClient extends ContainerLifeCycle implements WebSocketCont
|
|||
if (LOG.isDebugEnabled())
|
||||
LOG.debug("Stopping {}",this);
|
||||
|
||||
|
||||
if (ShutdownThread.isRegistered(this))
|
||||
{
|
||||
ShutdownThread.deregister(this);
|
||||
}
|
||||
ShutdownThread.deregister(this);
|
||||
|
||||
super.doStop();
|
||||
|
||||
|
|
Loading…
Reference in New Issue