officialpatterson commented on a change in pull request #11215: URL: https://github.com/apache/kafka/pull/11215#discussion_r692925490
########## File path: streams/src/test/java/org/apache/kafka/streams/kstream/TimeWindowsTest.java ########## @@ -19,50 +19,46 @@ import org.apache.kafka.streams.kstream.internals.TimeWindow; import org.junit.Test; -import java.time.Duration; import java.util.Map; import static java.time.Duration.ofMillis; import static org.apache.kafka.streams.EqualityCheck.verifyEquality; import static org.apache.kafka.streams.EqualityCheck.verifyInEquality; -import static org.apache.kafka.streams.kstream.Windows.DEPRECATED_DEFAULT_24_HR_GRACE_PERIOD; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertNotEquals; import static org.junit.Assert.assertThrows; import static org.junit.Assert.fail; -@SuppressWarnings("deprecation") public class TimeWindowsTest { private static final long ANY_SIZE = 123L; private static final long ANY_GRACE = 1024L; @Test public void shouldSetWindowSize() { - assertEquals(ANY_SIZE, TimeWindows.of(ofMillis(ANY_SIZE)).sizeMs); Review comment: Updated in latest commit -- 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: jira-unsubscr...@kafka.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org