diff --git a/opentelemetry-sdk/tests/metrics/test_aggregation.py b/opentelemetry-sdk/tests/metrics/test_aggregation.py index 2905bf8955a..efd51650492 100644 --- a/opentelemetry-sdk/tests/metrics/test_aggregation.py +++ b/opentelemetry-sdk/tests/metrics/test_aggregation.py @@ -114,14 +114,14 @@ def test_collect_cumulative(self): True, AggregationTemporality.CUMULATIVE ) - synchronous_sum_aggregation.aggregate(Measurement(1)) - first_sum = synchronous_sum_aggregation.collect() + sum_aggregation.aggregate(Measurement(1)) + first_sum = sum_aggregation.collect() self.assertEqual(first_sum.value, 1) self.assertTrue(first_sum.is_monotonic) - synchronous_sum_aggregation.aggregate(Measurement(1)) - second_sum = synchronous_sum_aggregation.collect() + sum_aggregation.aggregate(Measurement(1)) + second_sum = sum_aggregation.collect() self.assertEqual(second_sum.value, 2) self.assertTrue(second_sum.is_monotonic)