wsry commented on code in PR #20350:
URL: https://github.com/apache/flink/pull/20350#discussion_r937996143
##########
flink-runtime/src/test/java/org/apache/flink/runtime/scheduler/adaptivebatch/forwardgroup/ForwardGroupComputeUtilTest.java:
##########
@@ -83,14 +81,14 @@ public void testIsolatedVertices() throws Exception {
* </pre>
*/
@Test
- public void testVariousResultPartitionTypesBetweenVertices() throws
Exception {
+ void testVariousResultPartitionTypesBetweenVertices() throws Exception {
testThreeVerticesConnectSequentially(false, true, 1, 2);
testThreeVerticesConnectSequentially(false, false, 0);
testThreeVerticesConnectSequentially(true, true, 1, 3);
}
private void testThreeVerticesConnectSequentially(
- boolean isForward1, boolean isForward2, int numOfGroups, int...
groupSizes)
+ boolean isForward1, boolean isForward2, int numOfGroups,
Integer... groupSizes)
Review Comment:
Because AssertJ's ```contains``` method does not accept int array.
--
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]