Andrew Kyle Purtell created PHOENIX-8103:
--------------------------------------------

             Summary: PrematureScanTimelyAbortIT never runs
                 Key: PHOENIX-8103
                 URL: https://issues.apache.org/jira/browse/PHOENIX-8103
             Project: Phoenix
          Issue Type: Test
          Components: test
    Affects Versions: 5.3.2
            Reporter: Andrew Kyle Purtell
            Assignee: Andrew Kyle Purtell
             Fix For: 5.4.0, 5.3.3


{{PrematureScanTimelyAbortIT}} has no {{{}@Category{}}}.

The failsafe executions in the root pom run only the 
{{{}ParallelStatsEnabledTest{}}}, {{ParallelStatsDisabledTest}} and 
{{NeedsOwnMiniClusterTest}} groups. 

Thus CI never runs this class.

PHOENIX-6776 (January 2023) added the test asĀ {{PreMatureTimelyAbortScanIt}} 
with {{{}@Category(ParallelStatsDisabledTest.class){}}}. The name ends in 
{{{}It{}}}, not {{{}IT{}}}. The default failsafe include patterns are case 
sensitive, so failsafe did not select the class, even with a category.

PHOENIX-8069 (November 2026) renamed the class to 
{{{}PrematureScanTimelyAbortIT{}}}, which matches the include patterns. The 
same change commented out the category and its import. A {{TODO}} comment says 
that the test is not stable yet

The test is not safe in a shared cluster:
 * Its {{@BeforeClass}} sets server properties: a max lookback age of one hour, 
server page size 0, and no statistics for parallelization. In the 
{{ParallelStatsDisabledTest}} job, forks are reused. If a shared mini cluster 
exists already, {{BaseTest}} ignores the new server properties.

 * It uses the fixed table name {{{}LONG_BUG{}}}.

 * It sets a JVM-wide static flag in {{{}ScanningResultIterator{}}}. While the 
flag is on, scans of other tests in the same JVM can also fail on purpose.



--
This message was sent by Atlassian Jira
(v10.3.26#10030026)

Reply via email to