You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Here, I have a issue about using it , if I have more than one test, it always fail with error:
java.lang.IllegalStateException: Only one StreamingContext may be started in this JVM. Currently running StreamingContext was started atorg.apache.spark.streaming.StreamingContext.start(StreamingContext.scala:574)
[info] com.holdenkarau.spark.testing.StreamingSuiteCommon.withOutputAndStreamingContext(StreamingSuiteCommon.scala:121)
[info] com.holdenkarau.spark.testing.StreamingSuiteCommon.withOutputAndStreamingContext$(StreamingSuiteCommon.scala:114)
[info] net.truchat.sparkstreaming.AllStreamTest.withOutputAndStreamingContext(AllStreamTest.scala:7)
[info] com.holdenkarau.spark.testing.StreamingSuiteBase.testOperation(StreamingSuiteBase.scala:158)
[info] com.holdenkarau.spark.testing.StreamingSuiteBase.testOperation$(StreamingSuiteBase.scala:149)
If I put the two simple streaming tests in one test file with extends FunSuite with StreamingSuiteBase, it works.
HI , thanks for the amazing library.
Here, I have a issue about using it , if I have more than one test, it always fail with error:
If I put the two simple streaming tests in one test file with
extends FunSuite with StreamingSuiteBase
, it works.My tests libs are as follows:
Scala version :
2.12.14
Thanks
The text was updated successfully, but these errors were encountered: