Michael Stack created HBASE-23814:
-------------------------------------

             Summary: Add null checks and logging to misc set of tests
                 Key: HBASE-23814
                 URL: https://issues.apache.org/jira/browse/HBASE-23814
             Project: HBase
          Issue Type: Bug
            Reporter: Michael Stack


I've been studying unit tests of late. A few are failing but then the output is 
missing a detail or shutdown complains of NPE because startup didn't succeed.

Here are super minor items I've been carrying around that I'd like to land. 
They do  not change the function of tests (there is an attempt at a fix of 
TestLogsCleaner).

* TestFullLogReconstruction log the server we've chosen to expire and then note 
where we starting counting rows
* TestAsyncTableScanException use a define for row counts; count 100 instead of 
1000 and see if helps
* TestRawAsyncTableLimitedScanWithFilter check connection was made before 
closing it in tearDown
* TestLogsCleaner use single mod time. Make it for sure less than now in case 
test runs all in the same millisecond (would cause test fail)
* TestReplicationBase test table is non-null before closing in tearDown




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

Reply via email to