[ https://issues.apache.org/jira/browse/HBASE-24034?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Michael Stack resolved HBASE-24034. ----------------------------------- Fix Version/s: 2.3.0 3.0.0 Resolution: Fixed I merged this to branch-2, 2.3, and master. > [Flakey Tests] A couple of fixes and cleanups > --------------------------------------------- > > Key: HBASE-24034 > URL: https://issues.apache.org/jira/browse/HBASE-24034 > Project: HBase > Issue Type: Bug > Components: flakies > Reporter: Michael Stack > Assignee: Michael Stack > Priority: Major > Fix For: 3.0.0, 2.3.0 > > > Here's a few cleanups and flakey fixes accumulated in last few days: > {code} > > hbase-rsgroup/src/test/java/org/apache/hadoop/hbase/rsgroup/TestRSGroupMajorCompactionTTL.java > Remove spurious assert. Just before this it waits an arbitrary 10 > seconds. Compactions could have completed inside this time. The spirit > of the test remains. > > hbase-server/src/main/java/org/apache/hadoop/hbase/master/cleaner/HFileCleaner.java > Get log cleaner to go down promptly; its sticking around. See if this > helps with TestMasterShutdown > > hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/wal/FSHLog.java > We get a rare NPE trying to sync. Make local copy of SyncFuture and see > if that helps. > > hbase-server/src/test/java/org/apache/hadoop/hbase/client/TestAsyncRegionAdminApi.java > Compaction may have completed when not expected; allow for it. > > hbase-server/src/test/java/org/apache/hadoop/hbase/client/TestBlockEvictionFromClient.java > Add wait before testing. Compaction may not have completed. Let > compaction complete before progressing and then test for empty cache. > > hbase-server/src/test/java/org/apache/hadoop/hbase/master/TestMasterShutdown.java > Less resources. > > hbase-server/src/test/java/org/apache/hadoop/hbase/master/balancer/TestDefaultLoadBalancer.java > Less resources. > > hbase-server/src/test/java/org/apache/hadoop/hbase/regionserver/TestEndToEndSplitTransaction.java > Wait till online before we try and do compaction (else request is > ignored) > > hbase-server/src/test/java/org/apache/hadoop/hbase/tool/TestCanaryTool.java > Disable test that tests for timeout that fails randomly w/ mockito > complaint on some mac os > x's. > {code} -- This message was sent by Atlassian Jira (v8.3.4#803005)