mirror of https://github.com/apache/jclouds.git
Fixes testCreateAndRunAService by fixing the outdated jetty URL
This commit is contained in:
parent
162379aae0
commit
3731f812cb
|
@ -33,8 +33,8 @@ import org.jclouds.scriptbuilder.statements.login.AdminAccess;
|
|||
*/
|
||||
public class JettyStatements {
|
||||
|
||||
public static final URI JETTY_URL = URI.create(System.getProperty("test.jetty-url",//
|
||||
"http://download.eclipse.org/jetty/8.1.8.v20121106/dist/jetty-distribution-8.1.8.v20121106.tar.gz"));
|
||||
public static final URI JETTY_URL = URI.create(System.getProperty("test.jetty-url",
|
||||
"http://archive.eclipse.org/jetty/8.1.8.v20121106/dist/jetty-distribution-8.1.8.v20121106.tar.gz"));
|
||||
|
||||
public static final String JETTY_HOME = "/usr/local/jetty";
|
||||
|
||||
|
|
|
@ -630,7 +630,7 @@ public abstract class BaseComputeServiceLiveTest extends BaseComputeServiceConte
|
|||
|
||||
HostAndPort socket = null;
|
||||
try {
|
||||
socket = openSocketFinder.findOpenSocketOnNode(node, 8080, 60, TimeUnit.SECONDS);
|
||||
socket = openSocketFinder.findOpenSocketOnNode(node, 8080, 600, TimeUnit.SECONDS);
|
||||
} catch (NoSuchElementException e) {
|
||||
throw new NoSuchElementException(format("%s%n%s%s", e.getMessage(), exec.getOutput(), exec.getError()));
|
||||
}
|
||||
|
|
|
@ -228,7 +228,7 @@ END_OF_JCLOUDS_SCRIPT
|
|||
iptables -I INPUT 1 -p tcp --dport 8080 -j ACCEPT
|
||||
iptables-save
|
||||
mkdir /tmp/$$
|
||||
curl -q -s -S -L --connect-timeout 10 --max-time 600 --retry 20 -X GET http://download.eclipse.org/jetty/8.1.8.v20121106/dist/jetty-distribution-8.1.8.v20121106.tar.gz |(mkdir -p /tmp/$$ &&cd /tmp/$$ &&tar -xpzf -)
|
||||
curl -q -s -S -L --connect-timeout 10 --max-time 600 --retry 20 -X GET http://archive.eclipse.org/jetty/8.1.8.v20121106/dist/jetty-distribution-8.1.8.v20121106.tar.gz |(mkdir -p /tmp/$$ &&cd /tmp/$$ &&tar -xpzf -)
|
||||
mkdir -p /usr/local/jetty
|
||||
mv /tmp/$$/*/* /usr/local/jetty
|
||||
rm -rf /tmp/$$
|
||||
|
|
|
@ -23,7 +23,7 @@ import org.testng.annotations.Test;
|
|||
*
|
||||
* @author Adrian Cole
|
||||
*/
|
||||
@Test(groups = "live", sequential = true, testName = "CloudServersUKComputeServiceLiveTest")
|
||||
@Test(groups = "live", singleThreaded = true, testName = "CloudServersUKComputeServiceLiveTest")
|
||||
public class CloudServersUKComputeServiceLiveTest extends CloudServersComputeServiceLiveTest {
|
||||
|
||||
public CloudServersUKComputeServiceLiveTest() {
|
||||
|
|
Loading…
Reference in New Issue