HBASE-26815 TestFanOutOneBlockAsyncDFSOutput is flakey (#4186)

Trigger BlockReports in MiniDFSCluster after restarting datanode

Signed-off-by: Duo Zhang <zhangduo@apache.org>
This commit is contained in:
xicm 2022-03-10 16:06:12 +08:00 committed by Duo Zhang
parent 9849d3caec
commit 1fca21722b
1 changed files with 1 additions and 0 deletions

View File

@ -211,6 +211,7 @@ public class TestFanOutOneBlockAsyncDFSOutput extends AsyncFSTestBase {
assertEquals(2, output.getPipeline().length);
} finally {
CLUSTER.restartDataNode(dnProp);
CLUSTER.triggerBlockReports();
}
}