tillrohrmann commented on a change in pull request #7356:
[FLINK-10868][flink-yarn] Enforce maximum TMs failure rate in ResourceManagers
URL: https://github.com/apache/flink/pull/7356#discussion_r258468285
##########
File path:
flink-mesos/src/test/java/org/apache/flink/mesos/runtime/clusterframework/MesosResourceManagerTest.java
##########
@@ -303,7 +313,8 @@ protected void closeTaskManagerConnection(ResourceID
resourceID, Exception cause
rmServices.mesosConfig,
tmParams,
containerSpecification,
-
UnregisteredMetricGroups.createUnregisteredJobManagerMetricGroup());
+
UnregisteredMetricGroups.createUnregisteredJobManagerMetricGroup(),
+ new TimestampBasedFailureRater(2,
Time.of(1, TimeUnit.MINUTES)));
Review comment:
the `NoFailureRater` implementation would be to pass in here.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on 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