Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
mutianf committed Nov 13, 2024
1 parent fa7a38b commit 66f9e47
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -167,9 +167,9 @@ public void testFailure() {

assertThat(pointData)
.comparingElementsUsing(POINT_DATA_CLUSTER_ID_CONTAINS)
.contains("unspecified");
.contains("<unspecified>");
assertThat(pointData).comparingElementsUsing(POINT_DATA_ZONE_ID_CONTAINS).contains("global");
assertThat(clusterAttributes).contains("unspecified");
assertThat(clusterAttributes).contains("<unspecified>");
assertThat(zoneAttributes).contains("global");
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ public void testFailure() throws Exception {

assertThat(pointData)
.comparingElementsUsing(POINT_DATA_CLUSTER_ID_CONTAINS)
.contains("unspecified");
.contains("<unspecified>");
assertThat(pointData).comparingElementsUsing(POINT_DATA_ZONE_ID_CONTAINS).contains("global");
List<String> clusterAttributes =
pointData.stream()
Expand All @@ -193,7 +193,7 @@ public void testFailure() throws Exception {
.map(pd -> pd.getAttributes().get(BuiltinMetricsConstants.ZONE_ID_KEY))
.collect(Collectors.toList());

assertThat(clusterAttributes).contains("unspecified");
assertThat(clusterAttributes).contains("<unspecified>");
assertThat(zoneAttributes).contains("global");
}
}

0 comments on commit 66f9e47

Please sign in to comment.