Tanuj Khurana created PHOENIX-7746:
--------------------------------------

             Summary: Fix flapper test 
MetaDataCacheMetricsIT.testGlobalClientCacheMetricsOfCreateAndDropTable
                 Key: PHOENIX-7746
                 URL: https://issues.apache.org/jira/browse/PHOENIX-7746
             Project: Phoenix
          Issue Type: Improvement
    Affects Versions: 5.3.0, 5.2.1, 5.4.0
            Reporter: Tanuj Khurana
            Assignee: Tanuj Khurana


By default, we query SYSTEM.TASK after an initial delay of 10 seconds. If the 
test setup takes more than 10 seconds, the query on SYSTEM.TASK executes and 
that messes up some of the metadata cache metrics because the test metrics 
don't account for that query. We are seeing this lately because in 5.3 we are 
creating more system tables related to CDC streams. On the PHOENIX-7562 feature 
branch we are hitting this often because there we have added another system 
table.

An easy way to repro this is to add a Thread.sleep > 10 seconds in the failing 
test right before the assert check that is failing. 



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

Reply via email to