Uploaded image for project: 'Hadoop HDFS'
  1. Hadoop HDFS
  2. HDFS-11042

Add missing cleanupSSLConfig() call for tests that use setupSSLConfig()

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.8.0, 3.0.0-alpha2
    • Component/s: test
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      Tests that setup SSLConfigs can leave conf-files lingering unless they are cleaned up via KeyStoreTestUtil.cleanupSSLConfig call. Some tests are missing this call.

      If the cleanup method is not called explicitly, a modified ssl-client.xml is left in test-classes, affecting subsequent test cases. E.g. TestWebHdfsTimeouts would randomly fail, because the expected configuration fails to initialize and the default one with 60 second timeout was used.

        Attachments

        1. HDFS-11042.002.patch
          13 kB
          Kuhu Shukla
        2. HDFS-11042.001.patch
          13 kB
          Kuhu Shukla

          Issue Links

            Activity

              People

              • Assignee:
                kshukla Kuhu Shukla
                Reporter:
                kshukla Kuhu Shukla
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: