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

Viraj Jasani updated PHOENIX-7832:
----------------------------------
    Fix Version/s: 5.3.2
                       (was: 5.3.1)

> TenantViewOperationWorkloadIT add missing break in WEIGHTED switch case
> -----------------------------------------------------------------------
>
>                 Key: PHOENIX-7832
>                 URL: https://issues.apache.org/jira/browse/PHOENIX-7832
>             Project: Phoenix
>          Issue Type: Sub-task
>          Components: test
>            Reporter: Andrew Kyle Purtell
>            Assignee: Andrew Kyle Purtell
>            Priority: Minor
>             Fix For: 5.4.0, 5.3.2
>
>
> The switch on {{generatorType}} in {{TenantViewOperationWorkloadIT}} is 
> missing a {{break}} after the {{WEIGHTED}} case. Execution falls through into 
> {{default}} which overwrites all the carefully-set {{WEIGHTED}} fields with 
> the default (single tenant group, 10 tenants), so when {{generatorType == 
> WEIGHTED}} the settings are corrupt and the tenant-distribution assertions 
> fail intermittently.



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

Reply via email to