You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Guanghao Zhang (Jira)" <ji...@apache.org> on 2020/08/26 03:54:00 UTC
[jira] [Reopened] (HBASE-23814) Add null checks and logging to misc
set of tests
[ https://issues.apache.org/jira/browse/HBASE-23814?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Guanghao Zhang reopened HBASE-23814:
------------------------------------
Reopen for cherry-pick to branch-2.2.
> 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: Test
> Reporter: Michael Stack
> Assignee: Michael Stack
> Priority: Trivial
> Fix For: 3.0.0-alpha-1, 2.3.0
>
>
> 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)