From e74f1dc1333f6d886a6aed570d856c73a229d5dc Mon Sep 17 00:00:00 2001 From: Daniel Posada Date: Wed, 20 Oct 2021 21:55:09 -0500 Subject: [PATCH] Allows for specifying a default job env for tests --- integration/tests/cook/util.py | 1 + 1 file changed, 1 insertion(+) diff --git a/integration/tests/cook/util.py b/integration/tests/cook/util.py index 354cd17fa6..9dc1c98d8a 100644 --- a/integration/tests/cook/util.py +++ b/integration/tests/cook/util.py @@ -537,6 +537,7 @@ def minimal_job(**kwargs): 'workload-details': 'cook-integration-test-job'}, 'command': 'echo Default Test Command', 'cpus': get_default_cpus(), + 'env': json.loads(os.getenv('COOK_DEFAULT_JOB_ENV_JSON', '{"COOK_INTEGRATION_TEST": "true"}')), 'max_retries': 1, 'mem': int(os.getenv('COOK_DEFAULT_JOB_MEM_MB', 32)), 'name': (DEFAULT_JOB_NAME_PREFIX + get_caller()),