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

Thomas D'Silva updated PHOENIX-1803:
------------------------------------
    Attachment: PHOENIX-1803.patch

[~jamestaylor] I changed testMetadataQos() to verify the queue is used at least 
once. 

> Fix flapping PhoenixServerRpcIT.testMetadataQos
> -----------------------------------------------
>
>                 Key: PHOENIX-1803
>                 URL: https://issues.apache.org/jira/browse/PHOENIX-1803
>             Project: Phoenix
>          Issue Type: Bug
>            Reporter: James Taylor
>            Assignee: Thomas D'Silva
>         Attachments: PHOENIX-1803.patch
>
>
> Looks like there are some flappers that go introduced with the new priority 
> queue commit. Maybe you can test for > a number versus the exact number of 
> invocations?
> Running org.apache.phoenix.rpc.PhoenixServerRpcIT
> Tests run: 2, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 17.847 sec 
> <<< FAILURE! - in org.apache.phoenix.rpc.PhoenixServerRpcIT
> testMetadataQos(org.apache.phoenix.rpc.PhoenixServerRpcIT)  Time elapsed: 
> 1.439 sec  <<< FAILURE!
> org.mockito.exceptions.verification.TooManyActualInvocations:
> balancedQueueRpcExecutor.dispatch(<any>);
> Wanted 1 time:
> -> at 
> org.apache.phoenix.rpc.PhoenixServerRpcIT.testMetadataQos(PhoenixServerRpcIT.java:224)
> But was 2 times. Undesired invocation:
> -> at 
> org.apache.hadoop.hbase.ipc.PhoenixRpcScheduler.dispatch(PhoenixRpcScheduler.java:90)
>         at 
> org.apache.phoenix.rpc.PhoenixServerRpcIT.testMetadataQos(PhoenixServerRpcIT.java:224)



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to