Skip to content

Commit

Permalink
Fixing flaky test in TestCopyDependenciesMojo (#455)
Browse files Browse the repository at this point in the history
  • Loading branch information
mihirgune authored Nov 10, 2024
1 parent 7ae0aba commit 74a956b
Showing 1 changed file with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -564,9 +564,8 @@ public void testOverWriteSnap() throws MojoExecutionException, IOException, Mojo
}

public void testGetDependencies() throws MojoExecutionException {
assertEquals(
mojo.getResolvedDependencies(true).toString(),
mojo.getDependencySets(true).getResolvedDependencies().toString());
assertTrue(mojo.getResolvedDependencies(true)
.containsAll(mojo.getDependencySets(true).getResolvedDependencies()));
}

public void testExcludeProvidedScope() throws Exception {
Expand Down

0 comments on commit 74a956b

Please sign in to comment.