Shixiong Zhu created SPARK-16722:
------------------------------------

             Summary: Fix a StreamingContext leak in StreamingContextSuite when 
eventually fails
                 Key: SPARK-16722
                 URL: https://issues.apache.org/jira/browse/SPARK-16722
             Project: Spark
          Issue Type: Test
          Components: Tests
            Reporter: Shixiong Zhu
            Assignee: Shixiong Zhu


This patch moves `ssc.stop()` into `finally` for 
`StreamingContextSuite.createValidCheckpoint` to avoid leaking a 
StreamingContext since leaking a StreamingContext will fail a lot of tests and 
make us hard to find the real failure one.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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

Reply via email to