Skip to content

Commit

Permalink
Merge pull request #346 from udda1996/update-1.x
Browse files Browse the repository at this point in the history
Fix dependency availability test
  • Loading branch information
udda1996 authored Feb 8, 2024
2 parents bd38397 + 40fec53 commit 72fa7e6
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -287,6 +287,7 @@ public void testRemoveCommand() throws IOException, InterruptedException {
output = TestUtils.executeCommand(args);
Assert.assertTrue(output.contains("successfully removed"));
Assert.assertFalse(Files.exists(TestUtils.getDistPath(previousChannelVersion)));
Assert.assertNull(TestUtils.getDependencyPath(previousChannelDependencyVersion));

args.add("arg1");
output = TestUtils.executeCommand(args);
Expand All @@ -301,7 +302,7 @@ public void testRemoveCommand() throws IOException, InterruptedException {
Assert.assertTrue(Files.exists(TestUtils.getDistPath(swanLakeLatestVersion)));
Assert.assertFalse(Files.exists(TestUtils.getDistPath(swanLakeVersion)));
Assert.assertFalse(Files.exists(TestUtils.getDistPath(previousChanneLatestVersion)));
Assert.assertTrue(Files.exists(TestUtils.getDependencyPath(swanLakeLatestVersionDependency)));
Assert.assertNull(TestUtils.getDependencyPath(swanLakeLatestVersionDependency));
Assert.assertEquals(Files.list(TestUtils.getDependencyPath(swanLakeLatestVersionDependency).getParent()).count()
, 1);

Expand Down

0 comments on commit 72fa7e6

Please sign in to comment.