anishshri-db commented on code in PR #50628: URL: https://github.com/apache/spark/pull/50628#discussion_r2049735629
########## sql/core/src/test/scala/org/apache/spark/sql/streaming/FlatMapGroupsWithStateWithInitialStateSuite.scala: ########## @@ -442,14 +440,17 @@ class FlatMapGroupsWithStateWithInitialStateSuite extends StateStoreMetricsTest .groupByKey(x => x) .flatMapGroupsWithState(Update, NoTimeout(), initialState)(fruitCountFunc) testStream(result, Update)( - AddData(inputData, "apple"), - AddData(inputData, "apple"), - AddData(inputData, "orange"), - CheckNewAnswer(("apple", 3), ("orange", 3)), - AddData(inputData, "orange"), - CheckNewAnswer(("orange", 4)), - StopStream - ) + StartStream(Trigger.ProcessingTime("1 second"), triggerClock = new StreamManualClock), + AddData(inputData, "apple"), Review Comment: nit: indent seems off ? -- 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: reviews-unsubscr...@spark.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org