Masatake Iwasaki created HDFS-9437:
--------------------------------------
Summary: Add utility to wait for finishing the process of
heartbeat and block report
Key: HDFS-9437
URL: https://issues.apache.org/jira/browse/HDFS-9437
Project: Hadoop HDFS
Issue Type: Improvement
Components: test
Reporter: Masatake Iwasaki
Assignee: Masatake Iwasaki
BPServiceActor provides test utility such as triggerBlockReportForTests,
triggerHeartbeatForTests and triggerDeletionReportForTests. These methods
triggers heartbeat/blockreport and is possible to return before the process is
finished. Some unit tests intermittently fails due to this. Utilities to wait
for finishing the process of hearteat/blockreport should be added in order to
avoid flaky tests.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)