diff options
| author | Gordon Sim <gsim@apache.org> | 2007-10-02 09:54:59 +0000 |
|---|---|---|
| committer | Gordon Sim <gsim@apache.org> | 2007-10-02 09:54:59 +0000 |
| commit | da12edf961df4c43cc7db5fa161183a8281a5ca6 (patch) | |
| tree | 0de969934730c9cd760359c22f8819a1db26320c /qpid/cpp/src/tests/TxAckTest.cpp | |
| parent | b8fd8e599d8121bcc698c53a1621007a33d83fdf (diff) | |
| download | qpid-python-da12edf961df4c43cc7db5fa161183a8281a5ca6.tar.gz | |
Fixed recovery; unacked message records are now updated to hold the new command id when messages are resent.
Added unit and python test as previous bug was not being picked up by the existing tests.
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@581175 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/cpp/src/tests/TxAckTest.cpp')
| -rw-r--r-- | qpid/cpp/src/tests/TxAckTest.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/qpid/cpp/src/tests/TxAckTest.cpp b/qpid/cpp/src/tests/TxAckTest.cpp index 34d0bcd156..73628f25b5 100644 --- a/qpid/cpp/src/tests/TxAckTest.cpp +++ b/qpid/cpp/src/tests/TxAckTest.cpp @@ -78,7 +78,7 @@ public: messages.push_back(msg); QueuedMessage qm; qm.payload = msg; - deliveries.push_back(DeliveryRecord(qm, queue, "xyz", (i+1), true)); + deliveries.push_back(DeliveryRecord(qm, queue, "xyz", DeliveryToken::shared_ptr(), (i+1), true)); } //assume msgs 1-5, 7 and 9 are all acked (i.e. 6, 8 & 10 are not) |
