Skip to content

Commit 942c80b

Browse files
committed
Fix one unit test that was not setting spark.cleaner.ttl
1 parent 669ba4c commit 942c80b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

streaming/src/test/scala/org/apache/spark/streaming/BasicOperationsSuite.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -375,7 +375,7 @@ class BasicOperationsSuite extends TestSuiteBase {
375375
}
376376

377377
test("slice") {
378-
val conf2 = new SparkConf()
378+
val conf2 = conf.clone()
379379
.setMaster("local[2]")
380380
.setAppName("BasicOperationsSuite")
381381
.set("spark.streaming.clock", "org.apache.spark.streaming.util.ManualClock")

0 commit comments

Comments
 (0)