Palash Chauhan created PHOENIX-7385:
---------------------------------------

             Summary: 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


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