[
https://issues.apache.org/jira/browse/HBASE-30260?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
ASF GitHub Bot updated HBASE-30260:
-----------------------------------
Labels: pull-request-available (was: )
> Polish X509TestContext to make it more stable
> ---------------------------------------------
>
> Key: HBASE-30260
> URL: https://issues.apache.org/jira/browse/HBASE-30260
> Project: HBase
> Issue Type: Improvement
> Components: security, test
> Reporter: Duo Zhang
> Assignee: Duo Zhang
> Priority: Major
> Labels: pull-request-available
>
> TLS related tests sometimes fail in pre commit build and also on the flaky
> dashboard.
> Checking the code, when regenerating the file, we will write on the original
> file with an FileOutputStream, which means we will truncate the file first
> and then write the content, it is possible that the FileWatcher read a
> incomplete file and cause errors.
> Plan to make it write a temp file and then move it atomicly.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)