0
0
mirror of https://github.com/mongodb/mongo.git synced 2024-12-01 09:32:32 +01:00

SERVER-446970 KRB5_CCNAME variable is reused between JSTest jobs when it shouldn't be

This commit is contained in:
Adam Cooper 2020-03-17 15:00:52 -04:00 committed by Evergreen Agent
parent 3c1813351d
commit 471bb3b878

View File

@ -1,5 +1,6 @@
"""The unittest.TestCase for JavaScript tests.""" """The unittest.TestCase for JavaScript tests."""
import copy
import os import os
import os.path import os.path
import sys import sys
@ -70,7 +71,7 @@ class _SingleJSTestCase(interface.ProcessTestCase):
# Directory already exists. # Directory already exists.
pass pass
process_kwargs = self.shell_options.get("process_kwargs", {}).copy() process_kwargs = copy.deepcopy(self.shell_options.get("process_kwargs", {}))
if process_kwargs \ if process_kwargs \
and "env_vars" in process_kwargs \ and "env_vars" in process_kwargs \