diff options
author | ddunne | 2012-10-11 21:47:55 +0000 |
---|---|---|
committer | Roberto E. Escobar | 2012-10-11 21:47:55 +0000 |
commit | 37d06c1fe97e024b8c3bfe6ba1b411603c0da32d (patch) | |
tree | 29fccac7875f30ef6583131919f008677620a199 | |
parent | 0df816332e42daf6c1ce9043ac652c297e88b210 (diff) | |
download | org.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.java | 4 |
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) { |