cmccabe commented on code in PR #14860:
URL: https://github.com/apache/kafka/pull/14860#discussion_r1409942673


##########
server-common/src/test/java/org/apache/kafka/server/common/MetadataVersionTest.java:
##########
@@ -386,4 +418,21 @@ public void testOffsetCommitValueVersion(MetadataVersion 
metadataVersion) {
     public void 
testOffsetCommitValueVersionWithExpiredTimestamp(MetadataVersion 
metadataVersion) {
         assertEquals((short) 1, 
metadataVersion.offsetCommitValueVersion(true));
     }
+
+    @Test
+    public void assertLatestProductionIsLessThanLatest() {
+        assertTrue(LATEST_PRODUCTION.ordinal() < 
MetadataVersion.latest().ordinal(),
+            "Expected LATEST_PRODUCTION " + LATEST_PRODUCTION +
+            " to be less than the latest of " + MetadataVersion.latest());
+    }

Review Comment:
   yes. there should always be a new unstable version for the new stuff to go 
in :)



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