You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hbase.apache.org by "Abhishek Khanna (Jira)" <ji...@apache.org> on 2020/11/05 20:14:00 UTC

[jira] [Created] (HBASE-25250) Fixing hacky test in TestCoprocessorInterface

Abhishek Khanna created HBASE-25250:
---------------------------------------

             Summary: Fixing hacky test in TestCoprocessorInterface
                 Key: HBASE-25250
                 URL: https://issues.apache.org/jira/browse/HBASE-25250
             Project: HBase
          Issue Type: Bug
    Affects Versions: 2.3.2
            Reporter: Abhishek Khanna


The coprocessor was not being initialized in the region/store as the regionServices was set as null. The test was using an explicit setter in the region for populating the coprocessor after region initialization. This code path was exercised only by tests. This commit removes the back door entry for the test to set the coprocessor host explicitly and now the same is being set through the regular store initialization code path. This also allows the use of the storecontext otherwise the test would fail with the storecontext having a null coprocessor



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