Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohn Arthorne2009-05-14 18:51:58 +0000
committerJohn Arthorne2009-05-14 18:51:58 +0000
commita79adfbeb3c3a579cd211411f0fff34cbc66c8cf (patch)
tree50dce951ce35cfe0762f507993c113adcf4ec7ee /bundles/org.eclipse.equinox.p2.tests/src/org/eclipse/equinox/p2/tests/repository
parent86446769d518abb6a83aa98584c9064fe7e9324e (diff)
downloadrt.equinox.p2-a79adfbeb3c3a579cd211411f0fff34cbc66c8cf.tar.gz
rt.equinox.p2-a79adfbeb3c3a579cd211411f0fff34cbc66c8cf.tar.xz
rt.equinox.p2-a79adfbeb3c3a579cd211411f0fff34cbc66c8cf.zip
Tests for bug 275975 [transport] cancelling the "timeout" test server took at least 2 min
Diffstat (limited to 'bundles/org.eclipse.equinox.p2.tests/src/org/eclipse/equinox/p2/tests/repository')
-rw-r--r--bundles/org.eclipse.equinox.p2.tests/src/org/eclipse/equinox/p2/tests/repository/TimeoutTest.java6
1 files changed, 2 insertions, 4 deletions
diff --git a/bundles/org.eclipse.equinox.p2.tests/src/org/eclipse/equinox/p2/tests/repository/TimeoutTest.java b/bundles/org.eclipse.equinox.p2.tests/src/org/eclipse/equinox/p2/tests/repository/TimeoutTest.java
index 9b1b9585c..e6c525e03 100644
--- a/bundles/org.eclipse.equinox.p2.tests/src/org/eclipse/equinox/p2/tests/repository/TimeoutTest.java
+++ b/bundles/org.eclipse.equinox.p2.tests/src/org/eclipse/equinox/p2/tests/repository/TimeoutTest.java
@@ -63,8 +63,7 @@ public class TimeoutTest extends AbstractTestServerClientCase {
transport.getLastModified(toDownload, null);
break;
case STREAM :
- transport.stream(toDownload);
- // transport.stream(toDownload, null); //
+ transport.stream(toDownload, null);
break;
}
} catch (OperationCanceledException e) {
@@ -155,8 +154,7 @@ public class TimeoutTest extends AbstractTestServerClientCase {
transport.getLastModified(toDownload, monitor);
break;
case STREAM :
- transport.stream(toDownload);
- // transport.stream(toDownload, null); //
+ transport.stream(toDownload, monitor);
break;
}
} catch (OperationCanceledException e) {

Back to the top