File tree Expand file tree Collapse file tree 1 file changed +0
-2
lines changed
streaming/src/test/scala/org/apache/spark/streaming Expand file tree Collapse file tree 1 file changed +0
-2
lines changed Original file line number Diff line number Diff line change @@ -813,7 +813,6 @@ class StreamingContextSuite extends SparkFunSuite with BeforeAndAfter with Timeo
813813 val conf = new SparkConf ().setMaster(" local-cluster[2,1,1024]" ).setAppName(appName)
814814 ssc = new StreamingContext (conf, Milliseconds (100 ))
815815 val input = ssc.receiverStream(new TestReceiver )
816- val latch = new CountDownLatch (1 )
817816 @ volatile var stopping = false
818817 input.count().foreachRDD { rdd =>
819818 // Make sure we can read from BlockRDD
@@ -824,7 +823,6 @@ class StreamingContextSuite extends SparkFunSuite with BeforeAndAfter with Timeo
824823 setDaemon(true )
825824 override def run (): Unit = {
826825 ssc.stop(stopSparkContext = false , stopGracefully = false )
827- latch.countDown()
828826 }
829827 }.start()
830828 }
You can’t perform that action at this time.
0 commit comments