You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@beam.apache.org by GitBox <gi...@apache.org> on 2021/04/12 18:09:49 UTC
[GitHub] [beam] chamikaramj commented on a change in pull request #14508: [BEAM-12145][BEAM-12155] Fixes MetricsTest failure
chamikaramj commented on a change in pull request #14508:
URL: https://github.com/apache/beam/pull/14508#discussion_r611848078
##########
File path: sdks/java/core/src/test/java/org/apache/beam/sdk/metrics/MetricsTest.java
##########
@@ -287,12 +288,19 @@ public void testBoundedSourceMetrics() {
assertThat(
metrics.getCounters(),
- hasItem(
- attemptedMetricsResult(
- ELEMENTS_READ.getNamespace(),
- ELEMENTS_READ.getName(),
- "Read(BoundedCountingSource)",
- 1000L)));
+ anyOf(
+ hasItem(
+ attemptedMetricsResult(
+ ELEMENTS_READ.getNamespace(),
+ ELEMENTS_READ.getName(),
+ "Read(BoundedCountingSource)",
Review comment:
Yes.
--
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:
users@infra.apache.org