You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-dev@hadoop.apache.org by "Masatake Iwasaki (JIRA)" <ji...@apache.org> on 2015/11/18 02:24:10 UTC

[jira] [Created] (HDFS-9437) Add utility to wait for finishing the process of heartbeat and block report

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)