Skip to content

Commit

Permalink
Fix flaky test testGetPropertyNames.
Browse files Browse the repository at this point in the history
  • Loading branch information
yyfMichaelYan authored and nobodyiam committed Nov 10, 2021
1 parent 0e14333 commit b00f238
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ public void testGetPropertyNames() throws Exception {

verify(someConfig, times(1)).getPropertyNames();

assertArrayEquals(somePropertyNames.toArray(), result);
assertEquals(somePropertyNames, Sets.newHashSet(result));
}

@Test
Expand Down

0 comments on commit b00f238

Please sign in to comment.