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/updatesite
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/updatesite')
-rw-r--r--bundles/org.eclipse.equinox.p2.tests/src/org/eclipse/equinox/p2/tests/updatesite/UpdateSiteTest.java5
1 files changed, 4 insertions, 1 deletions
diff --git a/bundles/org.eclipse.equinox.p2.tests/src/org/eclipse/equinox/p2/tests/updatesite/UpdateSiteTest.java b/bundles/org.eclipse.equinox.p2.tests/src/org/eclipse/equinox/p2/tests/updatesite/UpdateSiteTest.java
index dfa4d35a5..728e3e137 100644
--- a/bundles/org.eclipse.equinox.p2.tests/src/org/eclipse/equinox/p2/tests/updatesite/UpdateSiteTest.java
+++ b/bundles/org.eclipse.equinox.p2.tests/src/org/eclipse/equinox/p2/tests/updatesite/UpdateSiteTest.java
@@ -851,16 +851,19 @@ public class UpdateSiteTest extends AbstractProvisioningTest {
}
// Overridden to prevent mirror sorting
+ @Override
public synchronized void reportResult(String toDownload, IStatus result) {
return;
}
// We want to test each mirror once.
+ @Override
public synchronized boolean hasValidMirror() {
return mirrors != null && index < mirrors.length;
}
- public synchronized URI getMirrorLocation(URI inputLocation) {
+ @Override
+ public synchronized URI getMirrorLocation(URI inputLocation, IProgressMonitor monitor) {
return URIUtil.append(nextMirror(), repoLocation.relativize(inputLocation).getPath());
}

Back to the top