Github user maropu commented on a diff in the pull request:

    https://github.com/apache/spark/pull/9478#discussion_r46021085
  
    --- Diff: 
core/src/test/scala/org/apache/spark/storage/ShuffleBlockFetcherIteratorSuite.scala
 ---
    @@ -27,16 +27,24 @@ import org.mockito.Matchers.{any, eq => meq}
     import org.mockito.Mockito._
     import org.mockito.invocation.InvocationOnMock
     import org.mockito.stubbing.Answer
    -import org.scalatest.PrivateMethodTester
    +import org.scalatest.{BeforeAndAfterAll, PrivateMethodTester}
     
    -import org.apache.spark.{SparkFunSuite, TaskContext}
    +import org.apache.spark.{SparkConf, SparkFunSuite, TaskContext}
     import org.apache.spark.network._
     import org.apache.spark.network.buffer.ManagedBuffer
     import org.apache.spark.network.shuffle.BlockFetchingListener
     import org.apache.spark.shuffle.FetchFailedException
     
     
    -class ShuffleBlockFetcherIteratorSuite extends SparkFunSuite with 
PrivateMethodTester {
    +class ShuffleBlockFetcherIteratorSuite extends SparkFunSuite
    +    with BeforeAndAfterAll with PrivateMethodTester {
    --- End diff --
    
    This fix complies your comments? I referred to `ContextClearnerSuite`;
    
https://github.com/apache/spark/blob/master/core/src/test/scala/org/apache/spark/ContextCleanerSuite.scala#L45


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to