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

ASF GitHub Bot commented on DISPATCH-1607:
------------------------------------------

ChugR commented on pull request #706: DISPATCH-1607: Fix 
system_tests_one_router timing edge case
URL: https://github.com/apache/qpid-dispatch/pull/706
 
 
   * Add allowance for integer scheduling and reporting intervals
   * Reduce test time from 7 to 3 seconds
 
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


> [test] one_router test_48 ConnectionUptimeLastDlvTest intermittent fail
> -----------------------------------------------------------------------
>
>                 Key: DISPATCH-1607
>                 URL: https://issues.apache.org/jira/browse/DISPATCH-1607
>             Project: Qpid Dispatch
>          Issue Type: Bug
>          Components: Tests
>    Affects Versions: 1.10.0
>            Reporter: Charles E. Rolke
>            Priority: Major
>             Fix For: 1.12.0
>
>
> This test fails with a dubious indication that delivery arrived before a 
> predicted delivery time.
> There is some uncertainty with respect to the test timing declarations based 
> on event.reactor.schedule calls with integer timing granularity and the 
> connection statistics gathered with Node queries, also with integer timing 
> granularity.
> If the connection takes only a few hundred microseconds to start up then the 
> router's internal uptime and last delivery times may appear to be a full 
> second behind the test times. The router uptime may be 1.999900 S and the 
> external test expects >= 2.000000 S and so the test fails. This is normal for 
> systems where the times are rounded down to the nearest whole second.
> The fix for this test is to relax the timing limits by one second.
> h6. Normal Test
> ||conn/iter||self.uptime||self.lastDlv||conn uptime||conn lastDlv||
> |send/1|5|None|5|None|
> |recv/1|5|None|5|None|
> |send/1|7|2|7|2|
> |recv/1|7|2|7|2|
> h6. Failing Test
> ||conn/iter||self.uptime||self.lastDlv||conn uptime||conn lastDlv||
> |send/1|5|None|6|None|
> |recv/1|5|None|6|None|
> |send/1|7|2|7|1|
> |recv/1|7|2|7|1|



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

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to