Skip to content

Commit e9ded62

Browse files
committed
Use ResetSystemProperties in TaskSchedulerImplSuite
1 parent 5b3cb54 commit e9ded62

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

core/src/test/scala/org/apache/spark/scheduler/TaskSchedulerImplSuite.scala

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ package org.apache.spark.scheduler
1919

2020
import java.util.Properties
2121

22+
import org.apache.spark.util.ResetSystemProperties
2223
import org.scalatest.FunSuite
2324

2425
import org.apache.spark._
@@ -109,7 +110,8 @@ class FakeTaskSetManager(
109110
}
110111
}
111112

112-
class TaskSchedulerImplSuite extends FunSuite with LocalSparkContext with Logging {
113+
class TaskSchedulerImplSuite extends FunSuite with ResetSystemProperties with LocalSparkContext
114+
with Logging {
113115

114116
def createDummyTaskSetManager(priority: Int, stage: Int, numTasks: Int, cs: TaskSchedulerImpl,
115117
taskSet: TaskSet): FakeTaskSetManager = {

0 commit comments

Comments
 (0)