Skip to content

Commit 8e13585

Browse files
committed
Reduced the number of local threads in tests.
1 parent c3e2f42 commit 8e13585

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

core/src/test/scala/org/apache/spark/broadcast/BroadcastSuite.scala

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ class BroadcastSuite extends SparkFunSuite with LocalSparkContext with Encryptio
155155

156156
test("One broadcast value instance per executor") {
157157
val conf = new SparkConf()
158-
.setMaster("local[10]")
158+
.setMaster("local[4]")
159159
.setAppName("test")
160160

161161
sc = new SparkContext(conf)
@@ -171,7 +171,7 @@ class BroadcastSuite extends SparkFunSuite with LocalSparkContext with Encryptio
171171

172172
test("One broadcast value instance per executor when memory is constrained") {
173173
val conf = new SparkConf()
174-
.setMaster("local[10]")
174+
.setMaster("local[4]")
175175
.setAppName("test")
176176
.set("spark.memory.useLegacyMode", "true")
177177
.set("spark.storage.memoryFraction", "0.0")

0 commit comments

Comments
 (0)