Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorspingel2008-07-16 02:39:49 +0000
committerspingel2008-07-16 02:39:49 +0000
commit189b668961b2860fe2072fe449902294a435fd1a (patch)
treecbe0c6d9eb1f9838474226ae2c38f67aabab8b3f /org.eclipse.mylyn.trac.tests/src/org/eclipse/mylyn/trac
parent540428b7e8cbafc8c654d206cba87fa955ffdf28 (diff)
downloadorg.eclipse.mylyn.tasks-189b668961b2860fe2072fe449902294a435fd1a.tar.gz
org.eclipse.mylyn.tasks-189b668961b2860fe2072fe449902294a435fd1a.tar.xz
org.eclipse.mylyn.tasks-189b668961b2860fe2072fe449902294a435fd1a.zip
NEW - bug 240224: sockets are left in CLOSE_WAIT
https://bugs.eclipse.org/bugs/show_bug.cgi?id=240224
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/client/AbstractTracClientSearchTest.java7
-rw-r--r--org.eclipse.mylyn.trac.tests/src/org/eclipse/mylyn/trac/tests/client/TracWebClientSearchTest.java7
2 files changed, 7 insertions, 7 deletions
diff --git a/org.eclipse.mylyn.trac.tests/src/org/eclipse/mylyn/trac/tests/client/AbstractTracClientSearchTest.java b/org.eclipse.mylyn.trac.tests/src/org/eclipse/mylyn/trac/tests/client/AbstractTracClientSearchTest.java
index adbff997b..da49012c2 100644
--- a/org.eclipse.mylyn.trac.tests/src/org/eclipse/mylyn/trac/tests/client/AbstractTracClientSearchTest.java
+++ b/org.eclipse.mylyn.trac.tests/src/org/eclipse/mylyn/trac/tests/client/AbstractTracClientSearchTest.java
@@ -246,11 +246,6 @@ public abstract class AbstractTracClientSearchTest extends AbstractTracClientTes
assertEquals("summary1", result.get(0).getValue(Key.SUMMARY));
}
- public void testStatusClosed096() throws Exception {
- connect096();
- statusClosed();
- }
-
public void testStatusClosed010() throws Exception {
connect010();
statusClosed();
@@ -261,7 +256,7 @@ public abstract class AbstractTracClientSearchTest extends AbstractTracClientTes
statusClosed();
}
- private void statusClosed() throws Exception {
+ protected void statusClosed() throws Exception {
TracTicket ticket = repository.getTicket(data.offlineHandlerTicketId, null);
assertEquals("closed", ticket.getValue(Key.STATUS));
assertEquals("fixed", ticket.getValue(Key.RESOLUTION));
diff --git a/org.eclipse.mylyn.trac.tests/src/org/eclipse/mylyn/trac/tests/client/TracWebClientSearchTest.java b/org.eclipse.mylyn.trac.tests/src/org/eclipse/mylyn/trac/tests/client/TracWebClientSearchTest.java
index 22f1f818c..16092facd 100644
--- a/org.eclipse.mylyn.trac.tests/src/org/eclipse/mylyn/trac/tests/client/TracWebClientSearchTest.java
+++ b/org.eclipse.mylyn.trac.tests/src/org/eclipse/mylyn/trac/tests/client/TracWebClientSearchTest.java
@@ -41,8 +41,13 @@ public class TracWebClientSearchTest extends AbstractTracClientSearchTest {
search.setOrderBy("id");
List<TracTicket> result = new ArrayList<TracTicket>();
repository.search(search, result, null);
- assertEquals(1, result.size());
+ assertEquals(2, result.size());
assertTicketEquals(tickets.get(7), result.get(0));
}
+ public void testStatusClosed096() throws Exception {
+ connect096();
+ statusClosed();
+ }
+
}

Back to the top