Jiabao-Sun commented on code in PR #23770:
URL: https://github.com/apache/flink/pull/23770#discussion_r1403102607


##########
flink-runtime/src/test/java/org/apache/flink/runtime/operators/ReduceTaskTest.java:
##########
@@ -50,7 +50,7 @@
 import static org.assertj.core.api.Assertions.assertThatThrownBy;
 import static org.assertj.core.api.Assertions.fail;
 
-public class ReduceTaskTest extends 
DriverTestBase<RichGroupReduceFunction<Record, Record>> {
+public class ReduceTaskTest extends DriverTestBase<GroupReduceFunction<Record, 
Record>> {

Review Comment:
   Thanks @XComp for your continuous help. 
   
   Using the newly introduced method `testDriver(Driver, S)` still requires 
fixing the generics because `S` also restricts the scope of the class. The old 
method parameter `testDriver(Driver driver, Class stubClass)` does not have any 
restrictions on the class, so it can be compiled successfully, but it may 
increase the possibility of errors occurring.



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