Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorspingel2010-01-06 05:09:30 +0000
committerspingel2010-01-06 05:09:30 +0000
commit266f740403cd0b437fd4dd75265dacb1500c7a40 (patch)
tree185d01fee75597b0a970758de9e619fbc1c9b727 /org.eclipse.mylyn.trac.tests/src/org/eclipse/mylyn/trac
parent35b31ca204f11ae904bd586f195702ba4f84bc70 (diff)
downloadorg.eclipse.mylyn.tasks-266f740403cd0b437fd4dd75265dacb1500c7a40.tar.gz
org.eclipse.mylyn.tasks-266f740403cd0b437fd4dd75265dacb1500c7a40.tar.xz
org.eclipse.mylyn.tasks-266f740403cd0b437fd4dd75265dacb1500c7a40.zip
REOPENED - bug 286979: investigate possible race condition in JiraRepositoryConnectorTest.testMarkStaleClosedTask
https://bugs.eclipse.org/bugs/show_bug.cgi?id=286979
Diffstat (limited to 'org.eclipse.mylyn.trac.tests/src/org/eclipse/mylyn/trac')
-rw-r--r--org.eclipse.mylyn.trac.tests/src/org/eclipse/mylyn/trac/tests/core/TracRepositoryConnectorTest.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/org.eclipse.mylyn.trac.tests/src/org/eclipse/mylyn/trac/tests/core/TracRepositoryConnectorTest.java b/org.eclipse.mylyn.trac.tests/src/org/eclipse/mylyn/trac/tests/core/TracRepositoryConnectorTest.java
index 1e08e89c7..cac04aa44 100644
--- a/org.eclipse.mylyn.trac.tests/src/org/eclipse/mylyn/trac/tests/core/TracRepositoryConnectorTest.java
+++ b/org.eclipse.mylyn.trac.tests/src/org/eclipse/mylyn/trac/tests/core/TracRepositoryConnectorTest.java
@@ -72,6 +72,9 @@ public class TracRepositoryConnectorTest extends TestCase {
data = TracFixture.init010();
connector = (TracRepositoryConnector) TasksUi.getRepositoryConnector(TracCorePlugin.CONNECTOR_KIND);
repository = TracFixture.current().singleRepository();
+
+ // XXX avoid failing test due to stale client
+ connector.getClientManager().clearClients();
}
public void testGetRepositoryUrlFromTaskUrl() {
@@ -258,9 +261,6 @@ public class TracRepositoryConnectorTest extends TestCase {
}
public void testUpdateTaskFromTaskDataSummaryOnly() throws Exception {
- // XXX avoid failing test due to stale client
- connector.getClientManager().clearClients();
-
TracTicket ticket = new TracTicket(456);
ticket.putBuiltinValue(Key.SUMMARY, "mysummary");

Back to the top