Skip to content
Snippets Groups Projects
Commit 83070cd1 authored by Prashant Sharma's avatar Prashant Sharma Committed by Shixiong Zhu
Browse files

[SPARK-15841][Tests] REPLSuite has incorrect env set for a couple of tests.

Description from JIRA.
In ReplSuite, for a test that can be tested well on just local should not really have to start a local-cluster. And similarly a test is in-sufficiently run if it's actually fixing a problem related to a distributed run in environment with local run.

Existing tests.

Author: Prashant Sharma <prashsh1@in.ibm.com>

Closes #13574 from ScrapCodes/SPARK-15841/repl-suite-fix.
parent aa036451
No related branches found
No related tags found
No related merge requests found
......@@ -233,7 +233,7 @@ class ReplSuite extends SparkFunSuite {
}
test("SPARK-1199 two instances of same class don't type check.") {
val output = runInterpreter("local-cluster[1,1,1024]",
val output = runInterpreter("local",
"""
|case class Sum(exp: String, exp2: String)
|val a = Sum("A", "B")
......@@ -305,7 +305,7 @@ class ReplSuite extends SparkFunSuite {
}
test("SPARK-2632 importing a method from non serializable class and not using it.") {
val output = runInterpreter("local",
val output = runInterpreter("local-cluster[1,1,1024]",
"""
|class TestClass() { def testMethod = 3 }
|val t = new TestClass
......
......@@ -276,7 +276,7 @@ class ReplSuite extends SparkFunSuite {
}
test("SPARK-1199 two instances of same class don't type check.") {
val output = runInterpreter("local-cluster[1,1,1024]",
val output = runInterpreter("local",
"""
|case class Sum(exp: String, exp2: String)
|val a = Sum("A", "B")
......@@ -336,7 +336,7 @@ class ReplSuite extends SparkFunSuite {
}
test("SPARK-2632 importing a method from non serializable class and not using it.") {
val output = runInterpreter("local",
val output = runInterpreter("local-cluster[1,1,1024]",
"""
|class TestClass() { def testMethod = 3 }
|val t = new TestClass
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment