diff --git a/contract-tests/tests/test/amazon/base/database_contract_test_base.py b/contract-tests/tests/test/amazon/base/database_contract_test_base.py index 27667d9e8..83379b949 100644 --- a/contract-tests/tests/test/amazon/base/database_contract_test_base.py +++ b/contract-tests/tests/test/amazon/base/database_contract_test_base.py @@ -130,7 +130,7 @@ def _assert_metric_attributes( if resource_scope_metric.metric.name.lower() == metric_name.lower(): target_metrics.append(resource_scope_metric.metric) - self.assertEqual(len(target_metrics), 1) + self.assertEqual(len(target_metrics), 1, f"target_metrics is {str(target_metrics)}, although only one walue was expected") target_metric: Metric = target_metrics[0] dp_list: List[ExponentialHistogramDataPoint] = target_metric.exponential_histogram.data_points