Author: frankscholten
Date: Fri May 4 17:35:57 2012
New Revision: 1334077
URL: http://svn.apache.org/viewvc?rev=1334077&view=rev
Log:
Reverted WhirrServicesTest to see if it works this time.
Modified:
whirr/trunk/platforms/karaf/itests/src/test/java/org/apache/whirr/karaf/itest/WhirrServicesTest.java
Modified:
whirr/trunk/platforms/karaf/itests/src/test/java/org/apache/whirr/karaf/itest/WhirrServicesTest.java
URL:
http://svn.apache.org/viewvc/whirr/trunk/platforms/karaf/itests/src/test/java/org/apache/whirr/karaf/itest/WhirrServicesTest.java?rev=1334077&r1=1334076&r2=1334077&view=diff
==============================================================================
---
whirr/trunk/platforms/karaf/itests/src/test/java/org/apache/whirr/karaf/itest/WhirrServicesTest.java
(original)
+++
whirr/trunk/platforms/karaf/itests/src/test/java/org/apache/whirr/karaf/itest/WhirrServicesTest.java
Fri May 4 17:35:57 2012
@@ -19,7 +19,6 @@
package org.apache.whirr.karaf.itest;
-import org.junit.Ignore;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.openengsb.labs.paxexam.karaf.options.LogLevelOption;
@@ -34,7 +33,6 @@ import static org.openengsb.labs.paxexam
import static
org.openengsb.labs.paxexam.karaf.options.KarafDistributionOption.logLevel;
import static org.ops4j.pax.exam.CoreOptions.scanFeatures;
-@Ignore
@RunWith(JUnit4TestRunner.class)
@ExamReactorStrategy(AllConfinedStagedReactorFactory.class)
public class WhirrServicesTest extends WhirrKarafTestSupport {
@@ -42,34 +40,34 @@ public class WhirrServicesTest extends W
@Test
public void testServices() throws InterruptedException {
//Install all services
-// executeCommand("features:install whirr-cassandra");
-// executeCommand("features:install whirr-chef");
-// executeCommand("features:install whirr-elasticsearch");
-// executeCommand("features:install whirr-ganglia");
-// executeCommand("features:install whirr-hadoop");
-// executeCommand("features:install whirr-hama");
-// executeCommand("features:install whirr-hbase");
-// executeCommand("features:install whirr-puppet");
+ executeCommand("features:install whirr-cassandra");
+ executeCommand("features:install whirr-chef");
+ executeCommand("features:install whirr-elasticsearch");
+ executeCommand("features:install whirr-ganglia");
+ executeCommand("features:install whirr-hadoop");
+ executeCommand("features:install whirr-hama");
+ executeCommand("features:install whirr-hbase");
+ executeCommand("features:install whirr-puppet");
executeCommand("features:install whirr-pig");
-// executeCommand("features:install whirr-mahout");
-// executeCommand("features:install whirr-zookeeper");
+ executeCommand("features:install whirr-mahout");
+ executeCommand("features:install whirr-zookeeper");
System.err.println(executeCommand("osgi:list"));
//Test that services properly register to OSGi service registry.
getOsgiService("org.apache.whirr.ClusterController", "(name=default)",
SERVICE_TIMEOUT);
-// testService("cassandra");
-// testService("chef");
-// testService("elasticsearch");
-// testService("ganglia-monitor", "ganglia-metad");
-// testService("hadoop-namenode", "hadoop-datanode", "hadoop-jobtracker",
"hadoop-tasktracker");
-// testService("hama-master", "hama-groomserver");
-// testService("hbase-master", "hbase-regionserver", "hbase-restserver",
"hbase-avroserver", "hbase-thriftserver");
-// testService("puppet-install");
-// testService("mahout-client");
+ testService("cassandra");
+ testService("chef");
+ testService("elasticsearch");
+ testService("ganglia-monitor", "ganglia-metad");
+ testService("hadoop-namenode", "hadoop-datanode", "hadoop-jobtracker",
"hadoop-tasktracker");
+ testService("hama-master", "hama-groomserver");
+ testService("hbase-master", "hbase-regionserver", "hbase-restserver",
"hbase-avroserver", "hbase-thriftserver");
+ testService("puppet-install");
+ testService("mahout-client");
testService("pig-client");
-// testService("zookeeper");
+ testService("zookeeper");
}