Uploaded image for project: 'Apache Curator'
  1. Apache Curator
  2. CURATOR-472

Test-only code started to be called in prod

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Critical
    • Resolution: Fixed
    • None
    • 4.1.0
    • Client
    • None

    Description

      After commit fe2c7c4cd606c0cf4bc4fab15deedc0f4c33ea0e the method

       

      protected boolean testableWaitForShutdown(int wait)
          throws InterruptedException
      

      with the following comment

       

       

      * Wait up to wait milliseconds for the underlying threads to shutdown.
      * THIS METHOD IS EXPECTED TO BE USED FOR TESTING ONLY!!!
      

      started to be called from real method ZooKeeper.close()

      It prevents tests to finish.

       

      Attachments

        Issue Links

          Activity

            People

              randgalt Jordan Zimmerman
              mskonovalov mskonovalov
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: