[ 
https://issues.apache.org/jira/browse/HBASE-24118?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Michael Stack resolved HBASE-24118.
-----------------------------------
    Resolution: Fixed

Reverted then reapplied as an @Ignore on the test:

{code}
-  @Test
+  @org.junit.Ignore @Test // Until root-cause of flakeyness, HBASE-24117, is 
addressed.
   public void testRetryBackoff() throws IOException, InterruptedException {
     HRegionServer srcRs = UTIL.getRSForFirstRegionInTable(TABLE_NAME);
     RegionInfo region = srcRs.getRegions(TABLE_NAME).get(0).getRegionInfo();
@@ -190,11 +192,10 @@ public class TestCloseRegionWhileRSCrash {
     // here we start a new master
     UTIL.getMiniHBaseCluster().startMaster();
     t.join();
-    // Make sure that the region is online, it may not be on the original 
target server, as we will
-    // set forceNewPlan to true if there is a server crash.
-    // DISABLED THIS CHECK. See HBASE-24117.
-    // try (Table table = UTIL.getConnection().getTable(TABLE_NAME)) {
-    //   table.put(new Put(Bytes.toBytes(1)).addColumn(CF, 
Bytes.toBytes("cq"), Bytes.toBytes(1)));
-    // }
+    // Make sure that the region is online, it may not on the original target 
server, as we will set
+    // forceNewPlan to true if there is a server crash
+    try (Table table = UTIL.getConnection().getTable(TABLE_NAME)) {
+      table.put(new Put(Bytes.toBytes(1)).addColumn(CF, Bytes.toBytes("cq"), 
Bytes.toBytes(1)));
+    }
{code}

Re-resolving.

> [Flakey Tests] TestCloseRegionWhileRSCrash
> ------------------------------------------
>
>                 Key: HBASE-24118
>                 URL: https://issues.apache.org/jira/browse/HBASE-24118
>             Project: HBase
>          Issue Type: Bug
>            Reporter: Michael Stack
>            Assignee: Michael Stack
>            Priority: Major
>             Fix For: 3.0.0, 2.3.0
>
>         Attachments: 
> 0001-HBASE-24118-Flakey-Tests-TestCloseRegionWhileRSCrash.patch
>
>
> TestCloseRegionWhileRSCrash is flakey because of HBASE-24117  -- because 
> moved Region may not online in the end. Remove the last bit of the test...



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to