hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kihwal Lee (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HDFS-11042) Add missing cleanupSSLConfig() call for tests that use setupSSLConfig()
Date Mon, 24 Oct 2016 15:18:58 GMT

     [ https://issues.apache.org/jira/browse/HDFS-11042?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Kihwal Lee updated HDFS-11042:
------------------------------
    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.

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


> Add missing cleanupSSLConfig() call for tests that use setupSSLConfig()
> -----------------------------------------------------------------------
>
>                 Key: HDFS-11042
>                 URL: https://issues.apache.org/jira/browse/HDFS-11042
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: test
>            Reporter: Kuhu Shukla
>            Assignee: Kuhu Shukla
>             Fix For: 2.8.0, 3.0.0-alpha2
>
>         Attachments: HDFS-11042.001.patch, HDFS-11042.002.patch
>
>
> 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.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: hdfs-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-help@hadoop.apache.org


Mime
View raw message