We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a7778ff commit 3d17403Copy full SHA for 3d17403
opentelemetry-sdk/tests/metrics/test_aggregation.py
@@ -15,7 +15,6 @@
15
# pylint: disable=protected-access
16
17
from math import inf
18
-from random import randint
19
from time import sleep, time_ns
20
from typing import Union
21
from unittest import TestCase
@@ -630,7 +629,7 @@ def test_histogram(self):
630
629
self.assertIsInstance(aggregation, _ExplicitBucketHistogramAggregation)
631
632
def test_histogram_with_advisory(self):
633
- boundaries = [randint(0, 1000)]
+ boundaries = [1.0, 2.0, 3.0]
634
aggregation = self.default_aggregation._create_aggregation(
635
_Histogram(
636
"name",
0 commit comments