Skip to content

Commit

Permalink
Tests updated
Browse files Browse the repository at this point in the history
  • Loading branch information
nstawski committed Oct 9, 2024
1 parent 171087f commit 960e170
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ def test_metric_cardinality_limit(self):
metric_data = self.reader.get_metrics_data()

# Check if the length of the metric data doesn't exceed 2000
self.assertTrue(len(metric_data) <= 2000)
self.assertTrue(len(metric_data.metrics) <= 2000)

# Check if a warning or an error was logged
with self.assertLogs(level=WARNING):
Expand Down

0 comments on commit 960e170

Please sign in to comment.