Uploaded image for project: 'Cassandra'
  1. Cassandra
  2. CASSANDRA-7889

Fix "java.lang.IllegalStateException: No configured daemon" in tests

Agile BoardAttach filesAttach ScreenshotBulk Copy AttachmentsBulk Move AttachmentsVotersWatch issueWatchersCreate sub-taskConvert to sub-taskMoveLinkCloneLabelsUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Low
    • Resolution: Fixed
    • 2.0.11, 2.1.1
    • None
    • Low

    Description

      Tests that use StorageService.instance.initServer() ends up logging the following error after their execution:

          [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)
      ...
      

      It's harmless to the tests since it's in the ShutdownDownHook but we should "fix" it at some point.

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            fhsnelson Steven Nelson Assign to me
            slebresne Sylvain Lebresne
            Steven Nelson
            Brandon Williams
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment