[
https://issues.apache.org/jira/browse/HBASE-22129?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Nihal Jain updated HBASE-22129:
-------------------------------
Description:
In {{TestSpaceQuotas}}, for a particular test scenario we have a new method for
each quota type. This calls for rewriting the tests as {{Parameterized}} tests.
In this Jira I plan to split {{TestSpaceQuotas}} into:
* *{{SpaceQuotasTestBase}}*: Base class for tests
* *{{TestSpaceQuotas}}*: Non-parameterized tests
* *{{TestSpaceQuotasOnTables}}*: Parameterized table space quota tests
* *{{TestSpaceQuotasOnNamespaces}}*: Parameterized namespace space quota tests
Mostly need to do what was done in [^HBASE-20662.master.002.patch].
was:
In {{TestSpaceQuotas}}, for a particular test scenario we have a new method for
each quota type. This calls for rewriting the tests as {{Parameterized}} tests.
In this Jira I plan to split {{TestSpaceQuotas}} into:
* *{{SpaceQuotasTestBase}}*: Base class for tests
* *{{TestSpaceQuotas}}*: No-parameterized tests
* *{{TestSpaceQuotasOnTables}}*: Parameterized table space quota tests
* *{{TestSpaceQuotasOnNamespaces}}*: Parameterized namespace space quota tests
Mostly need to do what was done in [HBASE-20662 Patch
2|https://issues.apache.org/jira/secure/attachment/12927187/HBASE-20662.master.002.patch].
> Rewrite TestSpaceQuotas as parameterized tests
> ----------------------------------------------
>
> Key: HBASE-22129
> URL: https://issues.apache.org/jira/browse/HBASE-22129
> Project: HBase
> Issue Type: Improvement
> Reporter: Nihal Jain
> Assignee: Nihal Jain
> Priority: Major
>
> In {{TestSpaceQuotas}}, for a particular test scenario we have a new method
> for each quota type. This calls for rewriting the tests as {{Parameterized}}
> tests.
> In this Jira I plan to split {{TestSpaceQuotas}} into:
> * *{{SpaceQuotasTestBase}}*: Base class for tests
> * *{{TestSpaceQuotas}}*: Non-parameterized tests
> * *{{TestSpaceQuotasOnTables}}*: Parameterized table space quota tests
> * *{{TestSpaceQuotasOnNamespaces}}*: Parameterized namespace space quota
> tests
> Mostly need to do what was done in [^HBASE-20662.master.002.patch].
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)