summaryrefslogtreecommitdiff
path: root/qpid/cpp/src/tests/MessagingSessionTests.cpp
diff options
context:
space:
mode:
authorRobert Gemmell <robbie@apache.org>2011-02-08 10:23:05 +0000
committerRobert Gemmell <robbie@apache.org>2011-02-08 10:23:05 +0000
commitd8fd38ea9ef5c5ddd63859eb76a290ffce708b63 (patch)
tree4c8e2bdff8375620ad6bd170d175717f3cd166bd /qpid/cpp/src/tests/MessagingSessionTests.cpp
parent5045a8bc614c60b8c40d90490a2c0722d2d82ca9 (diff)
downloadqpid-python-d8fd38ea9ef5c5ddd63859eb76a290ffce708b63.tar.gz
QPID-2900: Changed SimpleAMQQueue to avoid race condition in the updating atomic QueueContext._releasedEntry. Race was between thread SubFlushRunner (or QueueRunner) executing method SimpleAMQQueue.setLastSeenEntry and the thread executing the MessageRelase command executing method SimpleAMQQueue.updateSubRequeueEntry. Bolstered the unit tests surrounding the area of change to reduce risk of regression. Overrode TestableMemoryMessageStore#close() to avoid a NPE during tearDown silently cluttering some unit test logs (including SimpleAMQQueueTest).
Applied patch from Keith Wall <keith.wall@gmail.com> git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1068315 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/cpp/src/tests/MessagingSessionTests.cpp')
0 files changed, 0 insertions, 0 deletions