gaborgsomogyi commented on issue #25709: [SPARK-29007][STREAMING][MLLIB] 
Enforce not leaking SparkContext in tests which creates new StreamingContext 
with new SparkContext
URL: https://github.com/apache/spark/pull/25709#issuecomment-528829905
 
 
   I agree with the direction, tests should be as independent as possible.
   
   Maybe such functionality can be wrapped in a trait like 
`SharedSparkContext`. The actual implementation requires a lot of static 
function calls which can be forgotten easily on new tests.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to