shibd commented on code in PR #16969:
URL: https://github.com/apache/pulsar/pull/16969#discussion_r939766889


##########
pulsar-client-cpp/tests/BasicEndToEndTest.cc:
##########
@@ -1708,7 +1708,7 @@ TEST(BasicEndToEndTest, testSeekOnPartitionedTopic) {
     ASSERT_EQ(expected.str(), msgReceived.getDataAsString());
     ASSERT_EQ(ResultOk, consumer.acknowledge(msgReceived));
     ASSERT_EQ(ResultOk, consumer.unsubscribe());
-    ASSERT_EQ(ResultOk, consumer.close());
+    ASSERT_EQ(ResultAlreadyClosed, consumer.close());

Review Comment:
   In the current logic, when unsubscribe is invoked, the status is modified to 
close.
   



-- 
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]

Reply via email to