zhuzhurk commented on a change in pull request #10309: [FLINK-14909][runtime]
Let tasks get scheduled in topological order when possible
URL: https://github.com/apache/flink/pull/10309#discussion_r351265640
##########
File path:
flink-runtime/src/test/java/org/apache/flink/runtime/scheduler/strategy/TestingSchedulingTopology.java
##########
@@ -33,19 +32,23 @@
import java.util.Map;
import java.util.Optional;
+import static org.apache.flink.util.Preconditions.checkState;
+
/**
* A simple scheduling topology for testing purposes.
*/
public class TestingSchedulingTopology
implements SchedulingTopology<TestingSchedulingExecutionVertex,
TestingSchedulingResultPartition> {
+ private final List<TestingSchedulingExecutionVertex>
verticesInAddedOrder = new ArrayList<>();
Review comment:
Good suggestion! updated.
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services