Skip to content

Commit 7598f91

Browse files
committed
Minor changes.
1 parent 03de02d commit 7598f91

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

core/src/test/resources/log4j.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
#
1717

1818
# Set everything to be logged to the file core/target/unit-tests.log
19-
log4j.rootCategory=DEBUG, file
19+
log4j.rootCategory=INFO, file
2020
log4j.appender.file=org.apache.log4j.FileAppender
2121
log4j.appender.file.append=false
2222
log4j.appender.file.file=target/unit-tests.log

core/src/test/scala/org/apache/spark/storage/BlockManagerSuite.scala

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,8 +91,12 @@ class BlockManagerSuite extends FunSuite with Matchers with BeforeAndAfter
9191
conf.set("spark.driver.port", boundPort.toString)
9292
conf.set("spark.storage.unrollFraction", "0.4")
9393
conf.set("spark.storage.unrollMemoryThreshold", "512")
94+
95+
// for block replication test, to make a replication attempt to inactive store fail fast
9496
conf.set("spark.core.connection.ack.wait.timeout", "1")
97+
// for block replication test, to make cached peers refresh frequently
9598
conf.set("spark.storage.cachedPeersTtl", "10")
99+
96100
master = new BlockManagerMaster(
97101
actorSystem.actorOf(Props(new BlockManagerMasterActor(true, conf, new LiveListenerBus))),
98102
conf, true)

0 commit comments

Comments
 (0)