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

    https://github.com/apache/spark/pull/22209#discussion_r215345106
  
    --- Diff: 
streaming/src/test/scala/org/apache/spark/streaming/UISeleniumSuite.scala ---
    @@ -77,7 +77,14 @@ class UISeleniumSuite
         inputStream.foreachRDD { rdd =>
           rdd.foreach(_ => {})
           try {
    -        rdd.foreach(_ => throw new RuntimeException("Oops"))
    +        rdd.foreach { _ =>
    +          import org.apache.spark.TaskContext
    --- End diff --
    
    Thanks!


---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org

Reply via email to