[ 
https://issues.apache.org/jira/browse/HBASE-30204?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Xiao Liu updated HBASE-30204:
-----------------------------
    Description: 
After HBASE-30136 converted \{{TestClearRegionBlockCache}} to JUnit 5, the test 
starts and shuts down a mini cluster in \{{@BeforeEach}} / \{{@AfterEach}}.

This issue is to split the test by cache type and share the common assertions 
through a base test class, so that:

* LRU block cache tests run in TestClearRegionBlockCache
* Bucket cache tests run in TestClearRegionBlockCacheWithBucketCache

 

  was:
After HBASE-30136 converted \{{TestClearRegionBlockCache}} to JUnit 5, the test 
starts and shuts down a mini cluster in \{{@BeforeEach}} / \{{@AfterEach}}.

This issue is to split the test by cache type and share the common assertions 
through a base test class, so that:

* LRU block cache tests run in \{{TestClearRegionBlockCache}}
* Bucket cache tests run in \{{TestClearRegionBlockCacheWithBucketCache}}

 


> Split TestClearRegionBlockCache by cache type to avoid per-method mini 
> cluster restart
> --------------------------------------------------------------------------------------
>
>                 Key: HBASE-30204
>                 URL: https://issues.apache.org/jira/browse/HBASE-30204
>             Project: HBase
>          Issue Type: Improvement
>          Components: regionserver, test
>            Reporter: Xiao Liu
>            Assignee: Xiao Liu
>            Priority: Major
>              Labels: pull-request-available
>
> After HBASE-30136 converted \{{TestClearRegionBlockCache}} to JUnit 5, the 
> test starts and shuts down a mini cluster in \{{@BeforeEach}} / 
> \{{@AfterEach}}.
> This issue is to split the test by cache type and share the common assertions 
> through a base test class, so that:
> * LRU block cache tests run in TestClearRegionBlockCache
> * Bucket cache tests run in TestClearRegionBlockCacheWithBucketCache
>  



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to