Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mark DataStreamsTest and a few of OperationalStatsTest SDKIncompatible. #666

Merged
merged 1 commit into from
Feb 22, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@
import co.cask.cdap.test.suite.category.HDP21Incompatible;
import co.cask.cdap.test.suite.category.HDP22Incompatible;
import co.cask.cdap.test.suite.category.MapR5Incompatible;
import co.cask.cdap.test.suite.category.SDKIncompatible;
import org.apache.kafka.clients.producer.KafkaProducer;
import org.apache.kafka.clients.producer.ProducerRecord;
import org.apache.kafka.clients.producer.RecordMetadata;
Expand Down Expand Up @@ -69,6 +70,8 @@ public class DataStreamsTest extends ETLTestBase {

// DataStreams are based on Spark runtime, so marking incompatible for all Hadoop versions that don't support Spark
@Category({
// we don't run kafka in SDK
SDKIncompatible.class,
// the kafka server is not reachable from outside of the cluster on EMR clusters
EMRIncompatible.class,
// We don't support spark on these distros
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
import co.cask.cdap.internal.guava.reflect.TypeToken;
import co.cask.cdap.test.AudiTestBase;
import co.cask.cdap.test.suite.category.MapR5Incompatible;
import co.cask.cdap.test.suite.category.SDKIncompatible;
import co.cask.common.http.HttpMethod;
import co.cask.common.http.HttpResponse;
import com.google.gson.Gson;
Expand All @@ -44,8 +45,12 @@ public class OperationalStatsTest extends AudiTestBase {
new TypeToken<Map<String, Map<String, Object>>>() { }.getType();

@Test
@Category(MapR5Incompatible.class)
// incompatible with MapR right now because a lot of these stats are currently unavailable for MapRFS
@Category({
// incompatible with MapR right now because a lot of these stats are currently unavailable for MapRFS
MapR5Incompatible.class,
// HDFS is not run in SDK
SDKIncompatible.class
})
public void testHDFSStats() throws Exception {
Map<String, String> hdfsInfo = getInfoStats("hdfs");
Assert.assertTrue(hdfsInfo.containsKey("Version") && !hdfsInfo.get("Version").isEmpty());
Expand All @@ -69,6 +74,10 @@ public void testHDFSStats() throws Exception {
}

@Test
@Category({
// YARN is not run in SDK
SDKIncompatible.class
})
public void testYarnStats() throws Exception {
Map<String, String> yarnInfo = getInfoStats("yarn");
Assert.assertTrue(yarnInfo.containsKey("Version") && !yarnInfo.get("Version").isEmpty());
Expand Down Expand Up @@ -115,6 +124,10 @@ public void testYarnStats() throws Exception {
}

@Test
@Category({
// HBase is not run in SDK
SDKIncompatible.class
})
public void testHBaseStats() throws Exception {
Map<String, String> hbaseInfo = getInfoStats("hbase");
Assert.assertTrue(hbaseInfo.containsKey("Version") && !hbaseInfo.get("Version").isEmpty());
Expand Down