Skip to content

Commit

Permalink
Unsetting the TaskContext which was set with empty TaskContext
Browse files Browse the repository at this point in the history
  • Loading branch information
Devaraj K committed Jun 24, 2017
1 parent 371933d commit 15b77df
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions core/src/test/scala/org/apache/spark/util/UtilsSuite.scala
Original file line number Diff line number Diff line change
Expand Up @@ -1108,5 +1108,6 @@ class UtilsSuite extends SparkFunSuite with ResetSystemProperties with Logging {
assert(isErrorOccurred)
// if the try, catch and finally blocks don't throw exceptions
Utils.tryWithSafeFinallyAndFailureCallbacks {}(catchBlock = {}, finallyBlock = {})
TaskContext.unset
}
}

0 comments on commit 15b77df

Please sign in to comment.