Skip to content

Commit 15b77df

Browse files
author
Devaraj K
committed
Unsetting the TaskContext which was set with empty TaskContext
1 parent 371933d commit 15b77df

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

core/src/test/scala/org/apache/spark/util/UtilsSuite.scala

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1108,5 +1108,6 @@ class UtilsSuite extends SparkFunSuite with ResetSystemProperties with Logging {
11081108
assert(isErrorOccurred)
11091109
// if the try, catch and finally blocks don't throw exceptions
11101110
Utils.tryWithSafeFinallyAndFailureCallbacks {}(catchBlock = {}, finallyBlock = {})
1111+
TaskContext.unset
11111112
}
11121113
}

0 commit comments

Comments
 (0)