Skip to content

Commit

Permalink
disable spark.ml read/write suites
Browse files Browse the repository at this point in the history
  • Loading branch information
mengxr committed Nov 11, 2015
1 parent 2d76e44 commit 34305ff
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
import org.junit.After;
import org.junit.Assert;
import org.junit.Before;
import org.junit.Test;
import org.junit.Ignore;

import org.apache.spark.api.java.JavaSparkContext;
import org.apache.spark.sql.SQLContext;
Expand All @@ -50,7 +50,7 @@ public void tearDown() {
Utils.deleteRecursively(tempDir);
}

@Test
@Ignore // SPARK-11672
public void testDefaultReadWrite() throws IOException {
String uid = "my_params";
MyParams instance = new MyParams(uid);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -872,7 +872,7 @@ class LogisticRegressionSuite
assert(model1a0.intercept ~== model1b.intercept absTol 1E-3)
}

test("read/write") {
ignore("read/write") { // SPARK-11672
// Set some Params to make sure set Params are serialized.
val lr = new LogisticRegression()
.setElasticNetParam(0.1)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ class BinarizerSuite extends SparkFunSuite with MLlibTestSparkContext with Defau
}
}

test("read/write") {
ignore("read/write") { // SPARK-11672
val binarizer = new Binarizer()
.setInputCol("feature")
.setOutputCol("binarized_feature")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ object MyParams extends Readable[MyParams] {
class DefaultReadWriteSuite extends SparkFunSuite with MLlibTestSparkContext
with DefaultReadWriteTest {

test("default read/write") {
ignore("default read/write") { // SPARK-11672
val myParams = new MyParams("my_params")
testDefaultReadWrite(myParams)
}
Expand Down

0 comments on commit 34305ff

Please sign in to comment.