Author: slaws
Date: Thu Mar 8 16:47:44 2012
New Revision: 1298468
URL: http://svn.apache.org/viewvc?rev=1298468&view=rev
Log:
Change HTTPS to HTTP in this test case. This fails for me in some circumstances
with an invalid certificate error and I don't believe there is any reason this
test has to use HTTPS.
Modified:
tuscany/sca-java-2.x/trunk/modules/domain-node/src/test/java/org/apache/tuscany/sca/impl/Node2TestCase.java
Modified:
tuscany/sca-java-2.x/trunk/modules/domain-node/src/test/java/org/apache/tuscany/sca/impl/Node2TestCase.java
URL:
http://svn.apache.org/viewvc/tuscany/sca-java-2.x/trunk/modules/domain-node/src/test/java/org/apache/tuscany/sca/impl/Node2TestCase.java?rev=1298468&r1=1298467&r2=1298468&view=diff
==============================================================================
---
tuscany/sca-java-2.x/trunk/modules/domain-node/src/test/java/org/apache/tuscany/sca/impl/Node2TestCase.java
(original)
+++
tuscany/sca-java-2.x/trunk/modules/domain-node/src/test/java/org/apache/tuscany/sca/impl/Node2TestCase.java
Thu Mar 8 16:47:44 2012
@@ -56,7 +56,7 @@ public class Node2TestCase {
@Test
public void remoteInstall() throws NoSuchServiceException,
NoSuchDomainException, ContributionReadException, ActivationException,
ValidationException {
Node node = TuscanyRuntime.newInstance().createNode("ImportTestCase");
-
node.installContribution("https://repository.apache.org/content/groups/snapshots/org/apache/tuscany/sca/samples/helloworld/2.0-SNAPSHOT/helloworld-2.0-SNAPSHOT.jar");
+
node.installContribution("http://repository.apache.org/content/groups/snapshots/org/apache/tuscany/sca/samples/helloworld/2.0-SNAPSHOT/helloworld-2.0-SNAPSHOT.jar");
Assert.assertEquals(1, node.getInstalledContributionURIs().size());
Assert.assertEquals("helloworld",
node.getInstalledContributionURIs().get(0));
@@ -70,7 +70,7 @@ public class Node2TestCase {
TuscanyRuntime runtime = TuscanyRuntime.newInstance();
try {
Node nodeA = runtime.createNode("uri:DistributedInstall");
-
nodeA.installContribution("https://repository.apache.org/content/groups/snapshots/org/apache/tuscany/sca/samples/helloworld/2.0-SNAPSHOT/helloworld-2.0-SNAPSHOT.jar");
+
nodeA.installContribution("http://repository.apache.org/content/groups/snapshots/org/apache/tuscany/sca/samples/helloworld/2.0-SNAPSHOT/helloworld-2.0-SNAPSHOT.jar");
nodeA.installContribution("src/test/resources/export.jar");
Assert.assertEquals(2, nodeA.getInstalledContributionURIs().size());