WaitSumMetrics waits for at least one instance of each given metric names to be present and their sums, returning true when passed to given isExpected(...).
(isExpected func(sums ...float64) bool, metricNames ...string)
| 597 | // WaitSumMetrics waits for at least one instance of each given metric names to be present and their sums, returning true |
| 598 | // when passed to given isExpected(...). |
| 599 | func (s *HTTPService) WaitSumMetrics(isExpected func(sums ...float64) bool, metricNames ...string) error { |
| 600 | return s.WaitSumMetricsWithOptions(isExpected, metricNames) |
| 601 | } |
| 602 | |
| 603 | func (s *HTTPService) WaitSumMetricsWithOptions(isExpected func(sums ...float64) bool, metricNames []string, opts ...MetricsOption) error { |
| 604 | var ( |