aliehsaeedii commented on code in PR #17414:
URL: https://github.com/apache/kafka/pull/17414#discussion_r1795562350


##########
clients/src/test/java/org/apache/kafka/clients/consumer/MockConsumerTest.java:
##########
@@ -64,41 +64,11 @@ public void testSimpleMock() {
         assertFalse(iter.hasNext());
         final TopicPartition tp = new TopicPartition("test", 0);
         assertEquals(2L, consumer.position(tp));
+        assertEquals(new OffsetAndMetadata(2, Optional.empty(), ""), 
recs.nextOffsets().get(tp));
         consumer.commitSync();
         assertEquals(2L, 
consumer.committed(Collections.singleton(tp)).get(tp).offset());
     }
 
-    @SuppressWarnings("deprecation")
-    @Test
-    public void testSimpleMockDeprecated() {

Review Comment:
   to resolve the conflict with `trunk`. Maybe rebasing was a better approach.



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