vamossagar12 commented on code in PR #11211: URL: https://github.com/apache/kafka/pull/11211#discussion_r854022242
########## streams/src/test/java/org/apache/kafka/streams/state/internals/AbstractDualSchemaRocksDBSegmentedBytesStoreTest.java: ########## @@ -157,43 +157,34 @@ public void shouldPutAndFetch() { try (final KeyValueIterator<Bytes, byte[]> values = bytesStore.fetch( Bytes.wrap(keyA.getBytes()), 0, windows[2].start())) { - final List<KeyValue<Windowed<String>, Long>> expected = asList( - KeyValue.pair(new Windowed<>(keyA, windows[0]), 10L), - KeyValue.pair(new Windowed<>(keyA, windows[1]), 50L) - ); + // all records expired as actual from is 59001 and to is 1000 + final List<KeyValue<Windowed<String>, Long>> expected = Collections.emptyList(); assertEquals(expected, toList(values)); } try (final KeyValueIterator<Bytes, byte[]> values = bytesStore.fetch( Bytes.wrap(keyA.getBytes()), Bytes.wrap(keyB.getBytes()), 0, windows[2].start())) { - final List<KeyValue<Windowed<String>, Long>> expected = asList( - KeyValue.pair(new Windowed<>(keyA, windows[0]), 10L), - KeyValue.pair(new Windowed<>(keyA, windows[1]), 50L), - KeyValue.pair(new Windowed<>(keyB, windows[2]), 100L) - ); + // all records expired as actual from is 59001 and to is 1000 + final List<KeyValue<Windowed<String>, Long>> expected = Collections.emptyList(); Review Comment: Plz refer to my comment above. -- 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