Skip to content

Commit

Permalink
Fix test otelresource metric has more properties now
Browse files Browse the repository at this point in the history
  • Loading branch information
heyams committed Oct 25, 2023
1 parent 45b61dc commit e561784
Showing 1 changed file with 0 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,6 @@ private static void verifyOtelResourceAttributeCustomMetric(
MetricData otelResourceMetricData =
(MetricData) ((Data<?>) otelResourceMetrics.get(0).getData()).getBaseData();
Map<String, String> properties = otelResourceMetricData.getProperties();
assertThat(properties.size()).isEqualTo(2);
assertThat(properties.get("key1")).isEqualTo("value1");
assertThat(properties.get("key2")).isEqualTo("value2");
}
Expand Down

0 comments on commit e561784

Please sign in to comment.