Skip to content

Commit 60803e0

Browse files
committed
use 2 Spark threads in test
1 parent 0f26364 commit 60803e0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/test/scala/org/apache/spark/sql/hbase/TestHbase.scala

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ import org.apache.spark.{SparkConf, SparkContext}
2222

2323

2424
object TestHbase extends HBaseSQLContext(
25-
new SparkContext("local", "TestSQLContext", new SparkConf(true)
25+
new SparkContext("local[2]", "TestSQLContext", new SparkConf(true)
2626
.set("spark.hadoop.hbase.zookeeper.quorum", "localhost"))) {
2727

2828
@transient val testUtil: HBaseTestingUtility =
@@ -43,4 +43,4 @@ object TestHbase extends HBaseSQLContext(
4343
catalog.pwdIsAccessible = true
4444

4545
def hbaseAdmin = catalog.admin
46-
}
46+
}

0 commit comments

Comments
 (0)