Josh Rosen created SPARK-4893:
---------------------------------
Summary: Use test fixture to reset system properties after
individual test runs
Key: SPARK-4893
URL: https://issues.apache.org/jira/browse/SPARK-4893
Project: Spark
Issue Type: Improvement
Components: Spark Core
Reporter: Josh Rosen
Assignee: Josh Rosen
Several of our tests call {{System.setProperty}} (or test code which implicitly
sets system properties) and don't always reset/clear the modified properties,
which can create ordering dependencies between tests and cause
[hard-to-diagnose
failures|https://github.com/apache/spark/pull/3561#issuecomment-67583605].
I think that we should use a ScalaTest fixture / mixin to automatically
snapshot and restore system properties after test runs.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]