hanyuzheng7 commented on code in PR #14523: URL: https://github.com/apache/kafka/pull/14523#discussion_r1360875657
########## streams/src/test/java/org/apache/kafka/streams/integration/IQv2StoreIntegrationTest.java: ########## @@ -716,7 +718,7 @@ public void process(final Record<Integer, Integer> record) { final SessionStore<Integer, Integer> stateStore = context().getStateStore(sessionStoreStoreBuilder.name()); stateStore.put( - new Windowed<>(record.key(), new SessionWindow(WINDOW_START, WINDOW_START)), + new Windowed<>(record.key(), new SessionWindow(record.timestamp(), record.timestamp())), Review Comment: ok ########## streams/src/test/java/org/apache/kafka/streams/integration/IQv2StoreIntegrationTest.java: ########## @@ -671,7 +673,7 @@ public void process(final Record<Integer, Integer> record) { public void process(final Record<Integer, Integer> record) { final WindowStore<Integer, Integer> stateStore = context().getStateStore(windowStoreStoreBuilder.name()); - stateStore.put(record.key(), record.value(), WINDOW_START); + stateStore.put(record.key(), record.value(), (record.timestamp() / WINDOW_SIZE.toMillis()) * WINDOW_SIZE.toMillis()); Review Comment: ok -- 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