You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@servicecomb.apache.org by "Willem Jiang (JIRA)" <ji...@apache.org> on 2018/04/02 01:49:00 UTC

[jira] [Commented] (SCB-443) Fix randomly UT failure of TestProviderQpsFlowControlHandler

    [ https://issues.apache.org/jira/browse/SCB-443?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16421872#comment-16421872 ] 

Willem Jiang commented on SCB-443:
----------------------------------

[~YaoHaishi] Please specify the fixed version (it should be 1.0.0-m2)

> Fix randomly UT failure of TestProviderQpsFlowControlHandler
> ------------------------------------------------------------
>
>                 Key: SCB-443
>                 URL: https://issues.apache.org/jira/browse/SCB-443
>             Project: Apache ServiceComb
>          Issue Type: Task
>          Components: Java-Chassis
>            Reporter: YaoHaishi
>            Assignee: YaoHaishi
>            Priority: Minor
>         Attachments: ComplieWarning.PNG, RandomlyUTFail.PNG
>
>
> - Fix randomly UT failure of TestProviderQpsFlowControlHandler
> - Change the check method of some unit tests
> ---------------------------------------------------------------------------------
> Travis-CI occurs randomly UT failure, logs see below.
> Our analysis conclusion is that sometimes the UT runs a little bit slowly, so the QpsController is refreshed and QPS mechanism is not triggered.
> The solution is to mock System.currentTimeMillis().
>  !RandomlyUTFail.PNG! 



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)