You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Sylvain Lebresne (JIRA)" <ji...@apache.org> on 2014/09/05 17:58:28 UTC

[jira] [Created] (CASSANDRA-7889) Fix "java.lang.IllegalStateException: No configured daemon" in tests

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)