Uploaded image for project: 'Apache Drill'
  1. Apache Drill
  2. DRILL-6936

Graceful shutdown test fails if loopback address is set in hosts

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.15.0
    • 1.16.0
    • None

    Description

      Prerequisites:

      • Loopback address is set for the host at /etc/hosts

      Steps:

      1. Run the test TestGracefulShutdown.gracefulShutdownThreadShouldBeInitializedBeforeClosingDrillbit

      Expected result:
      The test should ignore loopback address setting and pass.

      Actual result:
      The test fails:

      16:06:51.921 [main] ERROR org.apache.drill.TestReporter - Test Failed (d: 64.2 KiB(242.8 KiB), h: 71.1 MiB(336.2 MiB), nh: 91.9 KiB(164.3 MiB)): gracefulShutdownThreadShouldBeInitializedBeforeClosingDrillbit(org.apache.drill.test.TestGracefulShutdown)
      java.lang.AssertionError: null
      	at org.apache.drill.test.TestGracefulShutdown.gracefulShutdownThreadShouldBeInitializedBeforeClosingDrillbit(TestGracefulShutdown.java:207) ~[test-classes/:na]
      	at java.lang.Thread.run(Thread.java:748) ~[na:1.8.0_181]
      

      Attachments

        Activity

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

          People

            ihuzenko Igor Guzenko
            angozhiy Anton Gozhiy
            Vova Vysotskyi Vova Vysotskyi
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment