Zhe Zhang created HDFS-9329: ------------------------------- Summary: TestBootstrapStandby#testRateThrottling is flaky because fsimage size is smaller than IO buffer size Key: HDFS-9329 URL: https://issues.apache.org/jira/browse/HDFS-9329 Project: Hadoop HDFS Issue Type: Bug Components: test Affects Versions: 2.7.1 Reporter: Zhe Zhang Assignee: Zhe Zhang Priority: Minor
{{testRateThrottling}} verifies that bootstrap transfer should timeout with a very small {{DFS_IMAGE_TRANSFER_BOOTSTRAP_STANDBY_RATE_KEY}} value. However, throttling on the image sender only happens after sending each IO buffer. Therefore, the test sometimes fails if the receiver receives the full fsimage (which is smaller than IO buffer size) before throttling begins. -- This message was sent by Atlassian JIRA (v6.3.4#6332)