summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKrzysztof Daniel2013-11-12 07:36:43 (EST)
committerKrzysztof Daniel2013-11-12 08:36:24 (EST)
commit8b9149efcc8f8cbddcecfb491ff6e6168fbf61ec (patch)
tree500cdd0ee143a361ae0b7118bb3692b49bcea268
parent9a19f67ab9627abe35eb9eced7040e072b787ac5 (diff)
downloadrt.equinox.p2-8b9149efcc8f8cbddcecfb491ff6e6168fbf61ec.zip
rt.equinox.p2-8b9149efcc8f8cbddcecfb491ff6e6168fbf61ec.tar.gz
rt.equinox.p2-8b9149efcc8f8cbddcecfb491ff6e6168fbf61ec.tar.bz2
bug 420260 - org.eclipse.equinox.p2.tests take 1.5h longer on the Macrefs/changes/90/18290/2
use domain that can be resolved by Eclipse Foundation infrastructure (avoid depending on proxy while executing tests). Change-Id: I113d43930b9fd0dd5a6079677d54e8e2e6708ba6 Signed-off-by: Krzysztof Daniel <kdaniel@redhat.com>
-rw-r--r--bundles/org.eclipse.equinox.p2.tests/src/org/eclipse/equinox/p2/tests/metadata/repository/CompositeMetadataRepositoryTest.java10
-rw-r--r--bundles/org.eclipse.equinox.p2.tests/src/org/eclipse/equinox/p2/tests/mirror/ArtifactMirrorApplicationTest.java4
-rw-r--r--bundles/org.eclipse.equinox.p2.tests/src/org/eclipse/equinox/p2/tests/mirror/MetadataMirrorApplicationTest.java4
-rw-r--r--bundles/org.eclipse.equinox.p2.tests/src/org/eclipse/equinox/p2/tests/mirror/NewMirrorApplicationArtifactTest.java4
-rw-r--r--bundles/org.eclipse.equinox.p2.tests/src/org/eclipse/equinox/p2/tests/mirror/NewMirrorApplicationMetadataTest.java4
5 files changed, 13 insertions, 13 deletions
diff --git a/bundles/org.eclipse.equinox.p2.tests/src/org/eclipse/equinox/p2/tests/metadata/repository/CompositeMetadataRepositoryTest.java b/bundles/org.eclipse.equinox.p2.tests/src/org/eclipse/equinox/p2/tests/metadata/repository/CompositeMetadataRepositoryTest.java
index 2a447dd..d16f5da 100644
--- a/bundles/org.eclipse.equinox.p2.tests/src/org/eclipse/equinox/p2/tests/metadata/repository/CompositeMetadataRepositoryTest.java
+++ b/bundles/org.eclipse.equinox.p2.tests/src/org/eclipse/equinox/p2/tests/metadata/repository/CompositeMetadataRepositoryTest.java
@@ -589,10 +589,10 @@ public class CompositeMetadataRepositoryTest extends AbstractProvisioningTest {
PrintStream out = System.out;
try {
// System.setOut(new PrintStream(new StringBufferStream()));
- URI location = new URI("http://foo.org/in/memory");
- URI childOne = new URI("http://foo.org/in/memory/one");
- URI childTwo = new URI("http://foo.org/in/memory/two");
- URI childThree = new URI("http://foo.org/in/memory/three");
+ URI location = new URI("http://eclipse.org/equinox/in/memory");
+ URI childOne = new URI("http://eclipse.org/equinox/in/memory/one");
+ URI childTwo = new URI("http://eclipse.org/equinox/in/memory/two");
+ URI childThree = new URI("http://eclipse.org/equinox/in/memory/three");
CompositeMetadataRepository repository = createRepository(location, "in memory test");
repository.addChild(childOne);
repository.addChild(childTwo);
@@ -659,7 +659,7 @@ public class CompositeMetadataRepositoryTest extends AbstractProvisioningTest {
PrintStream out = System.out;
try {
System.setOut(new PrintStream(new StringBufferStream()));
- URI location = new URI("http://foo.org/in/memory");
+ URI location = new URI("http://eclipse.org/equinox/in/memory");
URI one = new URI("one");
URI two = new URI("two");
CompositeMetadataRepository repository = createRepository(location, "in memory test");
diff --git a/bundles/org.eclipse.equinox.p2.tests/src/org/eclipse/equinox/p2/tests/mirror/ArtifactMirrorApplicationTest.java b/bundles/org.eclipse.equinox.p2.tests/src/org/eclipse/equinox/p2/tests/mirror/ArtifactMirrorApplicationTest.java
index dc66b68..3befbeb 100644
--- a/bundles/org.eclipse.equinox.p2.tests/src/org/eclipse/equinox/p2/tests/mirror/ArtifactMirrorApplicationTest.java
+++ b/bundles/org.eclipse.equinox.p2.tests/src/org/eclipse/equinox/p2/tests/mirror/ArtifactMirrorApplicationTest.java
@@ -530,7 +530,7 @@ public class ArtifactMirrorApplicationTest extends AbstractProvisioningTest {
public void testArtifactMirrorToInvalid() {
try {
//Setup: create a URI pointing to an unmodifiable place
- URI invalidDestRepository = new URI("http://foobar.com/abcdefg");
+ URI invalidDestRepository = new URI("http://eclipse.org/equinox/foobar/abcdefg");
//run the application with the modifiable destination
basicRunMirrorApplication("14.1", sourceRepoLocation.toURL(), invalidDestRepository.toURL(), true);
@@ -554,7 +554,7 @@ public class ArtifactMirrorApplicationTest extends AbstractProvisioningTest {
try {
//Setup: create a URI pointing to an unmodifiable place
- URI invalidDestRepository = new URI("http://foobar.com/abcdefg");
+ URI invalidDestRepository = new URI("http://eclipse.org/equinox/foobar/abcdefg");
basicRunMirrorApplication("15.1", invalidRepository.toURL(), invalidDestRepository.toURL(), true);
//We expect the ProvisionException to be thrown
fail("15.0 ProvisionException not thrown");
diff --git a/bundles/org.eclipse.equinox.p2.tests/src/org/eclipse/equinox/p2/tests/mirror/MetadataMirrorApplicationTest.java b/bundles/org.eclipse.equinox.p2.tests/src/org/eclipse/equinox/p2/tests/mirror/MetadataMirrorApplicationTest.java
index ef61158..9c40d79 100644
--- a/bundles/org.eclipse.equinox.p2.tests/src/org/eclipse/equinox/p2/tests/mirror/MetadataMirrorApplicationTest.java
+++ b/bundles/org.eclipse.equinox.p2.tests/src/org/eclipse/equinox/p2/tests/mirror/MetadataMirrorApplicationTest.java
@@ -519,7 +519,7 @@ public class MetadataMirrorApplicationTest extends AbstractProvisioningTest {
public void testMetadataMirrorToInvalid() {
URI invalidDestRepository;
try {
- invalidDestRepository = new URI("http://foobar.com/abcdefg");
+ invalidDestRepository = new URI("http://eclipse.org/equinox/foobar/abcdefg");
basicRunMirrorApplication("14.1", sourceRepoLocation.toURL(), invalidDestRepository.toURL(), true);
//we expect an illegal state exception to be thrown and should never get here
fail("14.0 IllegalStateExpection not thrown");
@@ -538,7 +538,7 @@ public class MetadataMirrorApplicationTest extends AbstractProvisioningTest {
delete(invalidRepository);
try {
- URI invalidDestRepository = new URI("http://foobar.com/abcdefg");
+ URI invalidDestRepository = new URI("http://eclipse.org/equinox/foobar/abcdefg");
basicRunMirrorApplication("15.1", invalidRepository.toURL(), invalidDestRepository.toURL(), true);
//we expect a provisioning exception to be thrown and should never get here
fail("15.0 ProvisionExpection not thrown");
diff --git a/bundles/org.eclipse.equinox.p2.tests/src/org/eclipse/equinox/p2/tests/mirror/NewMirrorApplicationArtifactTest.java b/bundles/org.eclipse.equinox.p2.tests/src/org/eclipse/equinox/p2/tests/mirror/NewMirrorApplicationArtifactTest.java
index 1fdd137..a0f20db 100644
--- a/bundles/org.eclipse.equinox.p2.tests/src/org/eclipse/equinox/p2/tests/mirror/NewMirrorApplicationArtifactTest.java
+++ b/bundles/org.eclipse.equinox.p2.tests/src/org/eclipse/equinox/p2/tests/mirror/NewMirrorApplicationArtifactTest.java
@@ -557,7 +557,7 @@ public class NewMirrorApplicationArtifactTest extends AbstractProvisioningTest {
URI invalidDestRepository = null;
try {
//Setup: create a URI pointing to an unmodifiable place
- invalidDestRepository = new URI("http://foobar.com/abcdefg");
+ invalidDestRepository = new URI("http://eclipse.org/equinox/foobar/abcdefg");
//run the application with the modifiable destination
basicRunMirrorApplication("14.1", sourceRepoLocation.toURI(), invalidDestRepository, true, false);
@@ -585,7 +585,7 @@ public class NewMirrorApplicationArtifactTest extends AbstractProvisioningTest {
try {
//Setup: create a URI pointing to an unmodifiable place
- URI invalidDestRepository = new URI("http://foobar.com/abcdefg");
+ URI invalidDestRepository = new URI("http://eclipse.org/equinox/foobar/abcdefg");
basicRunMirrorApplication("15.1", invalidRepository.toURI(), invalidDestRepository, true, false);
//We expect the ProvisionException to be thrown
fail("15.0 ProvisionException not thrown");
diff --git a/bundles/org.eclipse.equinox.p2.tests/src/org/eclipse/equinox/p2/tests/mirror/NewMirrorApplicationMetadataTest.java b/bundles/org.eclipse.equinox.p2.tests/src/org/eclipse/equinox/p2/tests/mirror/NewMirrorApplicationMetadataTest.java
index 5a923a1..6063943 100644
--- a/bundles/org.eclipse.equinox.p2.tests/src/org/eclipse/equinox/p2/tests/mirror/NewMirrorApplicationMetadataTest.java
+++ b/bundles/org.eclipse.equinox.p2.tests/src/org/eclipse/equinox/p2/tests/mirror/NewMirrorApplicationMetadataTest.java
@@ -554,7 +554,7 @@ public class NewMirrorApplicationMetadataTest extends AbstractProvisioningTest {
public void testMetadataMirrorToInvalid() {
URI invalidDestRepository = null;
try {
- invalidDestRepository = new URI("http://foobar.com/abcdefg");
+ invalidDestRepository = new URI("http://eclipse.org/equinox/foobar/abcdefg");
basicRunMirrorApplication("14.1", sourceRepoLocation.toURL(), invalidDestRepository.toURL(), true);
//we expect an illegal state exception to be thrown and should never get here
fail("14.0 IllegalStateExpection not thrown");
@@ -577,7 +577,7 @@ public class NewMirrorApplicationMetadataTest extends AbstractProvisioningTest {
delete(invalidRepository);
try {
- URI invalidDestRepository = new URI("http://foobar.com/abcdefg");
+ URI invalidDestRepository = new URI("http://eclipse.org/equinox/foobar/abcdefg");
basicRunMirrorApplication("15.1", invalidRepository.toURL(), invalidDestRepository.toURL(), true);
//we expect a provisioning exception to be thrown and should never get here
fail("15.0 ProvisionExpection not thrown");