You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Charles E. Rolke (Jira)" <ji...@apache.org> on 2019/11/22 15:44:00 UTC

[jira] [Commented] (DISPATCH-1493) qdstat test_address_priority fails by issuing false positive

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

Charles E. Rolke commented on DISPATCH-1493:
--------------------------------------------

The addresses in question have an internal priority of -1. Qdstat sees that value and changes it to a blank. The parser of the self test has a regular expression that doesn't find the blank but something else and declares the test a success.

The proposed fix is for qdstat to change the -1 to a hyphen "-", and then to adjust the self test to allow that.

> qdstat test_address_priority fails by issuing false positive
> ------------------------------------------------------------
>
>                 Key: DISPATCH-1493
>                 URL: https://issues.apache.org/jira/browse/DISPATCH-1493
>             Project: Qpid Dispatch
>          Issue Type: Bug
>          Components: Tests
>    Affects Versions: 1.9.0
>            Reporter: Charles E. Rolke
>            Assignee: Charles E. Rolke
>            Priority: Major
>
> The test verifies that the priority field of _qdstat --address_ output lines each hold a priority between -1 and 9. Unfortunately the priority fields are all blank. The actual qdstat output looks like this:
> {noformat}
> 2019-11-22 00:32:51.921253 UTC
> 28: QDR.A
> 28: 
> 28: Router Addresses
> 28:   class   addr                   phs  distrib   pri  local  remote  in  out  thru  fallback
> 28:   ===========================================================================================
> 28:   local   $_management_internal       closest        0      0       0   0    0     0
> 28:   mobile  $management            0    closest        0      0       14  0    0     0
> 28:   local   $management                 closest        0      0       0   0    0     0
> 28:   local   temp.XTQ3id3e5RY0E9P        balanced       1      0       0   1    0     0
> {noformat}
> This test makes no sense in the context of qdstat output with no values in the columns of interest.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org