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

Palash Chauhan resolved PHOENIX-7385.
-------------------------------------
    Resolution: Fixed

> Fix MetadataGetTableReadLockIT flapper
> --------------------------------------
>
>                 Key: PHOENIX-7385
>                 URL: https://issues.apache.org/jira/browse/PHOENIX-7385
>             Project: Phoenix
>          Issue Type: Improvement
>            Reporter: Palash Chauhan
>            Assignee: Palash Chauhan
>            Priority: Major
>
> MetadataGetTableReadLockIT.
> testBlockedReadDoesNotBlockAnotherRead creates 2 threads. First thread takes 
> a read lock while performing a query and sleeps for a duration. Second thread 
> also performs a query. The test verifies that the second thread was not 
> blocked i.e. it finishes quicker than the first thread's sleep duration. The 
> test setup removes MetaDataEndpointImpl coproc and loads an extension of it 
> which can be configured to sleep after acquiring a lock. 
> Currently, the test class is annotated with ParallelStatsDisabledTest which 
> means other tests can interfere with the coproc loaded on SYSTEM.CATALOG. We 
> can annotate it with 
> NeedsOwnMiniClusterTest.



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

Reply via email to