[
https://issues.apache.org/jira/browse/HDFS-8063?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Masatake Iwasaki updated HDFS-8063:
-----------------------------------
Attachment: HDFS-8063.001.patch
Shutting down MiniDFSCluster assures no spans arrived any more. I merged
testWriteWithoutTraceHooks and testReadWithoutTraceHooks in order to reduce the
number of MiniDFSCluster startup as far as possible. I also removed code
duplication.
> Fix test failure in TestTracing
> -------------------------------
>
> Key: HDFS-8063
> URL: https://issues.apache.org/jira/browse/HDFS-8063
> Project: Hadoop HDFS
> Issue Type: Bug
> Components: test
> Reporter: Masatake Iwasaki
> Assignee: Masatake Iwasaki
> Priority: Minor
> Attachments: HDFS-8063.001.patch
>
>
> Tests in TestTracing sometimes fails, especially on slow machine. The cause
> is that spans is possible to arrive at receiver after
> {{assertSpanNamesFound}} passed and
> {{SetSpanReceiver.SetHolder.spans.clear()}} is called for next test case.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)