You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "ASF subversion and git services (Jira)" <ji...@apache.org> on 2019/11/01 16:01:00 UTC

[jira] [Commented] (DISPATCH-1465) system_tests_policy.test_verify_z_connection_stats fails

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

ASF subversion and git services commented on DISPATCH-1465:
-----------------------------------------------------------

Commit 23456f9e42800c11f493e101eec3e7fcc933dc3a in qpid-dispatch's branch refs/heads/master from Charles E. Rolke
[ https://gitbox.apache.org/repos/asf?p=qpid-dispatch.git;h=23456f9 ]

DISPATCH-1465: Account for log file write-read race before failing test

* Wait up to five seconds for a successful log file read to
verify that the policy event was written.
* Print a line when a wait was executed.


> system_tests_policy.test_verify_z_connection_stats fails 
> ---------------------------------------------------------
>
>                 Key: DISPATCH-1465
>                 URL: https://issues.apache.org/jira/browse/DISPATCH-1465
>             Project: Qpid Dispatch
>          Issue Type: Improvement
>          Components: Tests
>            Reporter: Ganesh Murthy
>            Assignee: Charles E. Rolke
>            Priority: Major
>             Fix For: 1.10.0
>
>
> {noformat}
> test_verify_z_connection_stats (system_tests_policy.SenderReceiverLimits) ... FAIL
> test_verify_vhost_maximum_connections (system_tests_policy.VhostPolicyFromRouterConfig) ... ok
> test_vhost_allowed_addresses (system_tests_policy.VhostPolicyFromRouterConfig) ... ok
> test_vhost_denied_addresses (system_tests_policy.VhostPolicyFromRouterConfig) ... ok
> test_01_id_vs_hostname (system_tests_policy.VhostPolicyNameField) ... ok======================================================================
> FAIL: test_verify_z_connection_stats (system_tests_policy.SenderReceiverLimits)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/foo/qpid-dispatch/tests/system_tests_policy.py", line 333, in test_verify_z_connection_stats
>     self.assertTrue(len(close_lines) == 1, msg='Policy did not log sender and receiver denials.')
> AssertionError: Policy did not log sender and receiver denials.----------------------------------------------------------------------
> Ran 23 tests in 54.065sFAILED (failures=1) {noformat}



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