qpid-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (QPID-7120) [Java Broker] Test AbruptClientDisconnectTest.testMessagingOnAbruptConnectivityLostWhilstConsuming fails sporadically
Date Thu, 05 May 2016 10:17:12 GMT

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

ASF subversion and git services commented on QPID-7120:
-------------------------------------------------------

Commit 1742395 from orudyy@apache.org in branch 'java/branches/6.0.x'
[ https://svn.apache.org/r1742395 ]

QPID-7120: Fix sporadically failing AbruptClientDisconnectTest.testMessagingOnAbruptConnectivityLostWhilstConsuming

merged from trunk using
svn merge -c 1733467 ^/qpid/java/trunk

> [Java Broker] Test AbruptClientDisconnectTest.testMessagingOnAbruptConnectivityLostWhilstConsuming
fails sporadically
> ---------------------------------------------------------------------------------------------------------------------
>
>                 Key: QPID-7120
>                 URL: https://issues.apache.org/jira/browse/QPID-7120
>             Project: Qpid
>          Issue Type: Bug
>          Components: Java Tests
>            Reporter: Alex Rudyy
>            Assignee: Alex Rudyy
>             Fix For: qpid-java-6.1
>
>         Attachments: QPID-7120-Fix-test.diff, TEST-org.apache.qpid.server.AbruptClientDisconnectTest.testMessagingOnAbruptConnectivityLostWhilstConsuming.txt
>
>
> Test AbruptClientDisconnectTest.testMessagingOnAbruptConnectivityLostWhilstConsuming
fails for corner case when one remaining message is expected to receive  but it was already
received previously, Commit was sent and broker successfully committed and sent back CommitOk
but CommitOk did not reach client due to abrupt disconnect
> The test fails as below
> {noformat}
> Error Message
> Expected message with index 60 but got null
> Stacktrace
> junit.framework.AssertionFailedError: Expected message with index 60 but got null
> 	at junit.framework.Assert.fail(Assert.java:57)
> 	at junit.framework.Assert.assertTrue(Assert.java:22)
> 	at junit.framework.Assert.assertNotNull(Assert.java:256)
> 	at junit.framework.TestCase.assertNotNull(TestCase.java:426)
> 	at org.apache.qpid.server.AbruptClientDisconnectTest.consumeIgnoringLastSeenOmission(AbruptClientDisconnectTest.java:242)
> 	at org.apache.qpid.server.AbruptClientDisconnectTest.testMessagingOnAbruptConnectivityLostWhilstConsuming(AbruptClientDisconnectTest.java:201)
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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


Mime
View raw message