DreamPearl commented on a change in pull request #336:
URL: https://github.com/apache/qpid-proton/pull/336#discussion_r727953833



##########
File path: cpp/src/delivery_test.cpp
##########
@@ -78,12 +79,15 @@ class test_recv : public proton::messaging_handler {
     }
 
     void on_message(proton::delivery &d, proton::message &msg) override {
-        proton::binary test_tag_recv("TESTTAG");
-        ASSERT_EQUAL(test_tag_recv, d.tag());
+        ASSERT_EQUAL(test_tag, d.tag());
         d.receiver().close();
         d.connection().close();
         listener.stop();
     }
+
+    void on_delivery_settle(proton::delivery &d) override {
+        ASSERT_EQUAL(test_tag, d.tag());
+    }

Review comment:
       These lines are not reachable, I am not yet sure about the reason.




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to