Skip to content

Commit e6508c0

Browse files
authored
Try to manually copy environment variables from the parent in run-tests-jenkins.py (#22)
1 parent 6821aa5 commit e6508c0

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

dev/run-tests-jenkins.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,8 @@ def run_tests(tests_timeout):
121121

122122
test_result_code = subprocess.Popen(['timeout',
123123
tests_timeout,
124-
os.path.join(SPARK_HOME, 'dev', 'run-tests')]).wait()
124+
os.path.join(SPARK_HOME, 'dev', 'run-tests')],
125+
env=dict(os.environ)).wait()
125126

126127
failure_note_by_errcode = {
127128
# error to denote run-tests script failures:

0 commit comments

Comments
 (0)