diff options
author | Matthias Sohn | 2021-11-23 11:19:05 +0000 |
---|---|---|
committer | Matthias Sohn | 2021-11-24 15:02:33 +0000 |
commit | 6f07ca4d32861e29e103e1f0fe68de80368168a7 (patch) | |
tree | 77736ccfd514e01fe7ed291f841ef0d5f97c358a | |
parent | 73ddda1782301aed71746e808b3fd3ed37db3346 (diff) | |
download | egit-6f07ca4d32861e29e103e1f0fe68de80368168a7.tar.gz egit-6f07ca4d32861e29e103e1f0fe68de80368168a7.tar.xz egit-6f07ca4d32861e29e103e1f0fe68de80368168a7.zip |
GitCloneWizardTestBase: ignore errors during cleanup
On Jiro sometimes there are failures to remove files created by tests.
Ignore these errors to not fail the build.
Change-Id: Ic68fd90347a9251b66de05b120e116b293ac6ebf
-rw-r--r-- | org.eclipse.egit.ui.test/src/org/eclipse/egit/ui/wizards/clone/GitCloneWizardTestBase.java | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/org.eclipse.egit.ui.test/src/org/eclipse/egit/ui/wizards/clone/GitCloneWizardTestBase.java b/org.eclipse.egit.ui.test/src/org/eclipse/egit/ui/wizards/clone/GitCloneWizardTestBase.java index 2782fc3d4c..b79ec4d69c 100644 --- a/org.eclipse.egit.ui.test/src/org/eclipse/egit/ui/wizards/clone/GitCloneWizardTestBase.java +++ b/org.eclipse.egit.ui.test/src/org/eclipse/egit/ui/wizards/clone/GitCloneWizardTestBase.java @@ -134,8 +134,10 @@ public abstract class GitCloneWizardTestBase extends LocalRepositoryTestCase { @After public void cleanup() throws Exception { - if (destRepo != null) - FileUtils.delete(destRepo, FileUtils.RECURSIVE | FileUtils.RETRY); + if (destRepo != null) { + FileUtils.delete(destRepo, FileUtils.RECURSIVE | FileUtils.RETRY + | FileUtils.IGNORE_ERRORS); + } } } |