From 1fca21722b1ef18faeaa8d1fdcfc37ed4a5c3b01 Mon Sep 17 00:00:00 2001 From: xicm <36392121+xicm@users.noreply.github.com> Date: Thu, 10 Mar 2022 16:06:12 +0800 Subject: [PATCH] HBASE-26815 TestFanOutOneBlockAsyncDFSOutput is flakey (#4186) Trigger BlockReports in MiniDFSCluster after restarting datanode Signed-off-by: Duo Zhang --- .../hbase/io/asyncfs/TestFanOutOneBlockAsyncDFSOutput.java | 1 + 1 file changed, 1 insertion(+) diff --git a/hbase-asyncfs/src/test/java/org/apache/hadoop/hbase/io/asyncfs/TestFanOutOneBlockAsyncDFSOutput.java b/hbase-asyncfs/src/test/java/org/apache/hadoop/hbase/io/asyncfs/TestFanOutOneBlockAsyncDFSOutput.java index 656385b56b8..c32e2a3872f 100644 --- a/hbase-asyncfs/src/test/java/org/apache/hadoop/hbase/io/asyncfs/TestFanOutOneBlockAsyncDFSOutput.java +++ b/hbase-asyncfs/src/test/java/org/apache/hadoop/hbase/io/asyncfs/TestFanOutOneBlockAsyncDFSOutput.java @@ -211,6 +211,7 @@ public class TestFanOutOneBlockAsyncDFSOutput extends AsyncFSTestBase { assertEquals(2, output.getPipeline().length); } finally { CLUSTER.restartDataNode(dnProp); + CLUSTER.triggerBlockReports(); } }