Ethanlm commented on a change in pull request #3213: [STORM-3588] add
GenericResourceAwareSchedulingPriorityStrategy to accommodate generic resource
in grading topologies
URL: https://github.com/apache/storm/pull/3213#discussion_r384776794
##########
File path:
storm-server/src/test/java/org/apache/storm/scheduler/resource/TestUtilsForResourceAwareScheduler.java
##########
@@ -451,6 +460,32 @@ public static void assertTopologiesFullyScheduled(Cluster
cluster, String... top
}
}
+ public static void assertTopologiesBeenEvicted(Cluster cluster,
ResourceAwareScheduler scheduler, String... topoNames) {
Review comment:
We could pass `Set<String> evictedTopologies` instead of a scheduler since
that's the only thing we really need from the scheduler
----------------------------------------------------------------
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