summaryrefslogtreecommitdiff
path: root/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
commit6509ba6295cc79099a85b5f06034763d8845e48d (patch)
treee815e4185d6d016d8829d6f2f1b3920a2b28d9f6 /cpp/src/tests/MessagingSessionTests.cpp
parent0cfff20990e317f7f22c545bd106c6d8e71485c6 (diff)
downloadqpid-python-6509ba6295cc79099a85b5f06034763d8845e48d.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/qpid@1068315 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src/tests/MessagingSessionTests.cpp')
0 files changed, 0 insertions, 0 deletions