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
813
813
val conf = new SparkConf ().setMaster(" local-cluster[2,1,1024]" ).setAppName(appName)
814
814
ssc = new StreamingContext (conf, Milliseconds (100 ))
815
815
val input = ssc.receiverStream(new TestReceiver )
816
- val latch = new CountDownLatch (1 )
817
816
@ volatile var stopping = false
818
817
input.count().foreachRDD { rdd =>
819
818
// Make sure we can read from BlockRDD
@@ -824,7 +823,6 @@ class StreamingContextSuite extends SparkFunSuite with BeforeAndAfter with Timeo
824
823
setDaemon(true )
825
824
override def run (): Unit = {
826
825
ssc.stop(stopSparkContext = false , stopGracefully = false )
827
- latch.countDown()
828
826
}
829
827
}.start()
830
828
}
You can’t perform that action at this time.
0 commit comments