You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@spark.apache.org by pw...@apache.org on 2014/06/25 00:11:04 UTC
git commit: HOTFIX: Disabling tests per SPARK-2264
Repository: spark
Updated Branches:
refs/heads/master 924b7082b -> 221909e67
HOTFIX: Disabling tests per SPARK-2264
Project: http://git-wip-us.apache.org/repos/asf/spark/repo
Commit: http://git-wip-us.apache.org/repos/asf/spark/commit/221909e6
Tree: http://git-wip-us.apache.org/repos/asf/spark/tree/221909e6
Diff: http://git-wip-us.apache.org/repos/asf/spark/diff/221909e6
Branch: refs/heads/master
Commit: 221909e678bb60e5a3746e64a718600841c5f74f
Parents: 924b708
Author: Patrick Wendell <pw...@gmail.com>
Authored: Tue Jun 24 15:09:30 2014 -0700
Committer: Patrick Wendell <pw...@gmail.com>
Committed: Tue Jun 24 15:09:38 2014 -0700
----------------------------------------------------------------------
.../scala/org/apache/spark/sql/CachedTableSuite.scala | 12 +++++++-----
1 file changed, 7 insertions(+), 5 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/spark/blob/221909e6/sql/core/src/test/scala/org/apache/spark/sql/CachedTableSuite.scala
----------------------------------------------------------------------
diff --git a/sql/core/src/test/scala/org/apache/spark/sql/CachedTableSuite.scala b/sql/core/src/test/scala/org/apache/spark/sql/CachedTableSuite.scala
index c794da4..128ddae 100644
--- a/sql/core/src/test/scala/org/apache/spark/sql/CachedTableSuite.scala
+++ b/sql/core/src/test/scala/org/apache/spark/sql/CachedTableSuite.scala
@@ -24,7 +24,9 @@ import org.apache.spark.sql.test.TestSQLContext
class CachedTableSuite extends QueryTest {
TestData // Load test tables.
- test("read from cached table and uncache") {
+ // NOTE: ALL TESTS ARE IGNORED PENDING SPARK-2264
+
+ ignore("read from cached table and uncache") {
TestSQLContext.cacheTable("testData")
checkAnswer(
@@ -51,20 +53,20 @@ class CachedTableSuite extends QueryTest {
}
}
- test("correct error on uncache of non-cached table") {
+ ignore("correct error on uncache of non-cached table") {
intercept[IllegalArgumentException] {
TestSQLContext.uncacheTable("testData")
}
}
- test("SELECT Star Cached Table") {
+ ignore("SELECT Star Cached Table") {
TestSQLContext.sql("SELECT * FROM testData").registerAsTable("selectStar")
TestSQLContext.cacheTable("selectStar")
TestSQLContext.sql("SELECT * FROM selectStar WHERE key = 1").collect()
TestSQLContext.uncacheTable("selectStar")
}
- test("Self-join cached") {
+ ignore("Self-join cached") {
val unCachedAnswer =
TestSQLContext.sql("SELECT * FROM testData a JOIN testData b ON a.key = b.key").collect()
TestSQLContext.cacheTable("testData")
@@ -74,7 +76,7 @@ class CachedTableSuite extends QueryTest {
TestSQLContext.uncacheTable("testData")
}
- test("'CACHE TABLE' and 'UNCACHE TABLE' SQL statement") {
+ ignore("'CACHE TABLE' and 'UNCACHE TABLE' SQL statement") {
TestSQLContext.sql("CACHE TABLE testData")
TestSQLContext.table("testData").queryExecution.executedPlan match {
case _: InMemoryColumnarTableScan => // Found evidence of caching