Skip to content

Commit

Permalink
Fix flaky test get cluster assertion (apache#2753)
Browse files Browse the repository at this point in the history
Fix flaky test testGetClusters
  • Loading branch information
GrantPSpencer authored Feb 5, 2024
1 parent 43e8db2 commit 1ef5053
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -99,8 +99,7 @@ public void testGetClusters() throws IOException {

Set<String> clusters = OBJECT_MAPPER.readValue(clustersStr,
OBJECT_MAPPER.getTypeFactory().constructCollectionType(Set.class, String.class));
Assert.assertEquals(clusters, _clusters,
"clusters from response: " + clusters + " vs clusters actually: " + _clusters);
Assert.assertEquals(clusters, _clusters);

validateAuditLogSize(1);
AuditLog auditLog = _auditLogger.getAuditLogs().get(0);
Expand Down

0 comments on commit 1ef5053

Please sign in to comment.