Skip to content

Commit

Permalink
Try shell=True with explicit environment variables (#24)
Browse files Browse the repository at this point in the history
  • Loading branch information
HyukjinKwon authored Aug 14, 2019
1 parent 2ebdcb9 commit 0085ad7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion dev/run-tests-jenkins.py
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,8 @@ def run_tests(tests_timeout):
test_result_code = subprocess.Popen(['timeout',
tests_timeout,
os.path.join(SPARK_HOME, 'dev', 'run-tests')],
env=dict(os.environ)).wait()
env=dict(os.environ),
shell=True).wait()

failure_note_by_errcode = {
# error to denote run-tests script failures:
Expand Down

0 comments on commit 0085ad7

Please sign in to comment.