Search in sources :

Example 11 with Ignore

use of org.junit.Ignore in project deeplearning4j by deeplearning4j.

the class TestKryoWarning method testKryoMessageMLNCorrectConfigKryo.

@Test
@Ignore
public void testKryoMessageMLNCorrectConfigKryo() {
    //Should NOT print warning message
    SparkConf sparkConf = new SparkConf().setMaster("local[*]").setAppName("sparktest").set("spark.serializer", "org.apache.spark.serializer.KryoSerializer").set("spark.kryo.registrator", "org.nd4j.Nd4jRegistrator");
    doTestMLN(sparkConf);
}
Also used : SparkConf(org.apache.spark.SparkConf) Ignore(org.junit.Ignore) Test(org.junit.Test)

Example 12 with Ignore

use of org.junit.Ignore in project deeplearning4j by deeplearning4j.

the class TestKryoWarning method testKryoMessageMLNCorrectConfigNoKryo.

@Test
@Ignore
public void testKryoMessageMLNCorrectConfigNoKryo() {
    //Should NOT print warning message
    SparkConf sparkConf = new SparkConf().setMaster("local[*]").setAppName("sparktest");
    doTestMLN(sparkConf);
}
Also used : SparkConf(org.apache.spark.SparkConf) Ignore(org.junit.Ignore) Test(org.junit.Test)

Example 13 with Ignore

use of org.junit.Ignore in project deeplearning4j by deeplearning4j.

the class TestKryoWarning method testKryoMessageCGIncorrectConfig.

@Test
@Ignore
public void testKryoMessageCGIncorrectConfig() {
    //Should print warning message
    SparkConf sparkConf = new SparkConf().setMaster("local[*]").setAppName("sparktest").set("spark.serializer", "org.apache.spark.serializer.KryoSerializer");
    doTestCG(sparkConf);
}
Also used : SparkConf(org.apache.spark.SparkConf) Ignore(org.junit.Ignore) Test(org.junit.Test)

Example 14 with Ignore

use of org.junit.Ignore in project deeplearning4j by deeplearning4j.

the class TestKryoWarning method testKryoMessageCGCorrectConfigKryo.

@Test
@Ignore
public void testKryoMessageCGCorrectConfigKryo() {
    //Should NOT print warning message
    SparkConf sparkConf = new SparkConf().setMaster("local[*]").setAppName("sparktest").set("spark.serializer", "org.apache.spark.serializer.KryoSerializer").set("spark.kryo.registrator", "org.nd4j.Nd4jRegistrator");
    doTestCG(sparkConf);
}
Also used : SparkConf(org.apache.spark.SparkConf) Ignore(org.junit.Ignore) Test(org.junit.Test)

Example 15 with Ignore

use of org.junit.Ignore in project deeplearning4j by deeplearning4j.

the class TestKryoWarning method testKryoMessageMLNIncorrectConfig.

@Test
@Ignore
public void testKryoMessageMLNIncorrectConfig() {
    //Should print warning message
    SparkConf sparkConf = new SparkConf().setMaster("local[*]").setAppName("sparktest").set("spark.serializer", "org.apache.spark.serializer.KryoSerializer");
    doTestMLN(sparkConf);
}
Also used : SparkConf(org.apache.spark.SparkConf) Ignore(org.junit.Ignore) Test(org.junit.Test)

Aggregations

Ignore (org.junit.Ignore)5092 Test (org.junit.Test)4807 File (java.io.File)445 ArrayList (java.util.ArrayList)374 IOException (java.io.IOException)217 HashMap (java.util.HashMap)187 List (java.util.List)171 CountDownLatch (java.util.concurrent.CountDownLatch)118 Map (java.util.Map)103 LocalDate (java.time.LocalDate)94 Dataset (org.apache.jena.query.Dataset)93 InputStream (java.io.InputStream)89 Date (java.util.Date)88 Random (java.util.Random)85 AtomicInteger (java.util.concurrent.atomic.AtomicInteger)83 Properties (java.util.Properties)78 DistributedTest (org.apache.geode.test.junit.categories.DistributedTest)78 HashSet (java.util.HashSet)71 ByteArrayOutputStream (java.io.ByteArrayOutputStream)70 ExecutorService (java.util.concurrent.ExecutorService)70