Skip to content

Commit c68c285

Browse files
committed
update
1 parent 89d1d35 commit c68c285

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

streaming/src/test/scala/org/apache/spark/streaming/StreamingContextSuite.scala

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff 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
}

0 commit comments

Comments
 (0)