You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@spark.apache.org by Jies <cp...@gmail.com> on 2014/09/18 04:24:28 UTC

Re: Cannot run unit test.

When I run `sbt "test-only SparkTest"` or `sbt "test-only SparkTest1"`, it
was pass. But run `set test` to tests SparkTest and SparkTest1, it was
failed.

If merge all cases into one file, the test was pass.



--
View this message in context: http://apache-spark-user-list.1001560.n3.nabble.com/Cannot-run-unit-test-tp14459p14506.html
Sent from the Apache Spark User List mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@spark.apache.org
For additional commands, e-mail: user-help@spark.apache.org


Re: Cannot run unit test.

Posted by Mike Trienis <mi...@orcsol.com>.
It's because your tests are running in parallel and you can only have one
context running at a time. 



--
View this message in context: http://apache-spark-user-list.1001560.n3.nabble.com/Cannot-run-unit-test-tp14459p22429.html
Sent from the Apache Spark User List mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@spark.apache.org
For additional commands, e-mail: user-help@spark.apache.org