summaryrefslogtreecommitdiff
path: root/qpid/cpp/src
diff options
context:
space:
mode:
authorRajith Muditha Attapattu <rajith@apache.org>2010-05-18 00:23:41 +0000
committerRajith Muditha Attapattu <rajith@apache.org>2010-05-18 00:23:41 +0000
commitc5eef2d95119a0f7b67d5d37d393388e0103333d (patch)
treec721df2ca8a5eaaa1fe714146cedc23cc79f0d4f /qpid/cpp/src
parente301e74fc9c7e8944adf046f6bcc7f5408d6081b (diff)
downloadqpid-python-c5eef2d95119a0f7b67d5d37d393388e0103333d.tar.gz
This test is failed due to the checkin made in rev 942293 as a fix for QPID-2559.
Since (from rev 942293) credit is not sent if the dispatcher is null, for consumerB, credit is not sent until it invokes receive(). However it only tries to receive after consumerA has received 2 messages. Since AUTO-ACK is used, completions are sent immediately which results in A receiving credit, hence receiving the next 2 messages as well. I changed the test to create consumer A & B using the same session. This ensures that both consumers gets a chance to request credit before they consume any messages. This modification does not alter the intent of the original test case. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@945444 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/cpp/src')
0 files changed, 0 insertions, 0 deletions