Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorddunne2012-10-11 21:47:55 +0000
committerRoberto E. Escobar2012-10-11 21:47:55 +0000
commit37d06c1fe97e024b8c3bfe6ba1b411603c0da32d (patch)
tree29fccac7875f30ef6583131919f008677620a199
parent0df816332e42daf6c1ce9043ac652c297e88b210 (diff)
downloadorg.eclipse.osee-37d06c1fe97e024b8c3bfe6ba1b411603c0da32d.tar.gz
org.eclipse.osee-37d06c1fe97e024b8c3bfe6ba1b411603c0da32d.tar.xz
org.eclipse.osee-37d06c1fe97e024b8c3bfe6ba1b411603c0da32d.zip
refinement: Fix AtsBranchConfigurationTest to check branch existance before purge
-rw-r--r--plugins/org.eclipse.osee.ats.test/src/org/eclipse/osee/ats/config/AtsBranchConfigurationTest.java4
1 files changed, 3 insertions, 1 deletions
diff --git a/plugins/org.eclipse.osee.ats.test/src/org/eclipse/osee/ats/config/AtsBranchConfigurationTest.java b/plugins/org.eclipse.osee.ats.test/src/org/eclipse/osee/ats/config/AtsBranchConfigurationTest.java
index fda1d5547f6..77fe3a95979 100644
--- a/plugins/org.eclipse.osee.ats.test/src/org/eclipse/osee/ats/config/AtsBranchConfigurationTest.java
+++ b/plugins/org.eclipse.osee.ats.test/src/org/eclipse/osee/ats/config/AtsBranchConfigurationTest.java
@@ -402,7 +402,9 @@ public class AtsBranchConfigurationTest {
TestUtil.sleep(2000);
}
}
- BranchManager.purgeBranch(branch);
+ if (BranchManager.branchExists(branch)) {
+ BranchManager.purgeBranch(branch);
+ }
TestUtil.sleep(2000);
} catch (BranchDoesNotExist ex) {

Back to the top