Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRoberto E. Escobar2012-09-11 19:25:10 +0000
committerRoberto E. Escobar2012-09-11 19:25:10 +0000
commitaa1423d3f2dbe374147d55657c2e49a5f7d74a8c (patch)
tree51c9ce7e2561429d35466bdd24720ccd3658a7aa /plugins/org.eclipse.osee.framework.skynet.core.test
parent0abcc0a075d249a0155bdef09ee775fa216453ad (diff)
downloadorg.eclipse.osee-aa1423d3f2dbe374147d55657c2e49a5f7d74a8c.tar.gz
org.eclipse.osee-aa1423d3f2dbe374147d55657c2e49a5f7d74a8c.tar.xz
org.eclipse.osee-aa1423d3f2dbe374147d55657c2e49a5f7d74a8c.zip
bug: Fix intermittent BranchEventTest failure
Diffstat (limited to 'plugins/org.eclipse.osee.framework.skynet.core.test')
-rw-r--r--plugins/org.eclipse.osee.framework.skynet.core.test/src/org/eclipse/osee/framework/skynet/core/event/model/BranchEventTest.java7
1 files changed, 6 insertions, 1 deletions
diff --git a/plugins/org.eclipse.osee.framework.skynet.core.test/src/org/eclipse/osee/framework/skynet/core/event/model/BranchEventTest.java b/plugins/org.eclipse.osee.framework.skynet.core.test/src/org/eclipse/osee/framework/skynet/core/event/model/BranchEventTest.java
index 5fbe30c1f1d..ea60493c97a 100644
--- a/plugins/org.eclipse.osee.framework.skynet.core.test/src/org/eclipse/osee/framework/skynet/core/event/model/BranchEventTest.java
+++ b/plugins/org.eclipse.osee.framework.skynet.core.test/src/org/eclipse/osee/framework/skynet/core/event/model/BranchEventTest.java
@@ -67,7 +67,12 @@ public class BranchEventTest {
@AfterClass
public static void cleanUp() throws OseeCoreException {
- Operations.executeWorkAndCheckStatus(new PurgeBranchHttpRequestOperation(topLevel, true));
+ try {
+ OseeEventManager.getPreferences().setPendRunning(true);
+ Operations.executeWorkAndCheckStatus(new PurgeBranchHttpRequestOperation(topLevel, true));
+ } finally {
+ OseeEventManager.getPreferences().setPendRunning(false);
+ }
}
@org.junit.Test

Back to the top