Sylvain Lebresne created CASSANDRA-7889:
-------------------------------------------
Summary: Fix "java.lang.IllegalStateException: No configured
daemon" in tests
Key: CASSANDRA-7889
URL: https://issues.apache.org/jira/browse/CASSANDRA-7889
Project: Cassandra
Issue Type: Bug
Reporter: Sylvain Lebresne
Priority: Trivial
Tests that use {{StorageService.instance.initServer()}} ends up logging the
following error after their execution:
{noformat}
[junit] Exception in thread "StorageServiceShutdownHook"
java.lang.IllegalStateException: No configured daemon
[junit] at
org.apache.cassandra.service.StorageService.stopRPCServer(StorageService.java:309)
[junit] at
org.apache.cassandra.service.StorageService.shutdownClientServers(StorageService.java:381)
...
{noformat}
It's harmless to the tests since it's in the ShutdownDownHook but we should
"fix" it at some point.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)