We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 69bb771 commit e901625Copy full SHA for e901625
core/src/test/scala/org/apache/spark/SortShuffleSuite.scala
@@ -38,6 +38,10 @@ class SortShuffleSuite extends ShuffleSuite with BeforeAndAfterAll {
38
39
override def beforeAll() {
40
super.beforeAll()
41
+ // Once 'spark.local.dir' is set, it is cached. Unless this is manually cleared
42
+ // before/after a test, it could return the same directory even if this property
43
+ // is configured.
44
+ Utils.clearLocalRootDirs()
45
conf.set("spark.shuffle.manager", "sort")
46
}
47
@@ -50,6 +54,7 @@ class SortShuffleSuite extends ShuffleSuite with BeforeAndAfterAll {
50
54
override def afterEach(): Unit = {
51
55
try {
52
56
Utils.deleteRecursively(tempDir)
57
53
58
} finally {
59
super.afterEach()
60
0 commit comments