James Taylor created PHOENIX-1803:
-------------------------------------

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


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