Skip to content

Commit 7d998a3

Browse files
author
Neelesh Srinivas Salian
committed
Removed the Thread.sleep() call
1 parent 8b26397 commit 7d998a3

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

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

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -313,7 +313,6 @@ class StreamingContextSuite extends SparkFunSuite with BeforeAndAfter with Timeo
313313
val streamingSource = StreamingContextSuite.getStreamingSource(ssc)
314314
assert(sources.contains(streamingSource))
315315
assert(ssc.getState() === StreamingContextState.ACTIVE)
316-
Thread.sleep(100)
317316

318317
ssc.stop()
319318
val sourcesAfterStop = StreamingContextSuite.getSources(ssc.env.metricsSystem)

0 commit comments

Comments
 (0)