Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1bae13b commit a4e317aCopy full SHA for a4e317a
1 file changed
sdks/python/apache_beam/metrics/metric_test.py
@@ -176,10 +176,10 @@ def process(self, element):
176
namespace=hc.contains_string('SomeDoFn'),
177
name='element_dist',
178
committed=DistributionMatcher(
179
- sum_value=10,
180
- count_value=4,
+ sum_value=hc.greater_than_or_equal_to(0),
+ count_value=hc.greater_than_or_equal_to(0),
181
min_value=hc.greater_than_or_equal_to(0),
182
- max_value=4))
+ max_value=hc.greater_than_or_equal_to(0)))
183
hc.assert_that(
184
metric_results['distributions'], hc.contains_inanyorder(matcher))
185
0 commit comments