From 1fb7b8c4f84200bfe6f4ec03cabe247030f84643 Mon Sep 17 00:00:00 2001 From: Klaus Aehlig Date: Tue, 27 Feb 2024 15:14:35 +0100 Subject: with_{remote,serve}: honor TIMEOUT_SCALE Especially the end-to-end tests that use "remote" end points can grow large; therefore, honor the configuration variable TIMEOUT_SCALE, to allow the author to specify that this test takes more time. --- test/end-to-end/EXPRESSIONS | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'test/end-to-end/EXPRESSIONS') diff --git a/test/end-to-end/EXPRESSIONS b/test/end-to-end/EXPRESSIONS index 632c0b21..345b6069 100644 --- a/test/end-to-end/EXPRESSIONS +++ b/test/end-to-end/EXPRESSIONS @@ -11,6 +11,7 @@ , "transition" , "TEST_COMPATIBLE_REMOTE" , "TEST_REMOTE_EXECUTION" + , "TIMEOUT_SCALE" ] , "imports": { "artifacts_list": ["@", "rules", "", "field_artifacts_list"] @@ -127,6 +128,8 @@ , "inputs": {"type": "var", "name": "inputs"} , "cmd": {"type": "var", "name": "cmd"} , "env": {"type": "var", "name": "test_env"} + , "timeout scaling": + {"type": "var", "name": "TIMEOUT_SCALE", "default": 1.0} , "may_fail": ["test"] , "fail_message": { "type": "join" @@ -151,6 +154,8 @@ , "inputs": {"type": "var", "name": "inputs"} , "cmd": {"type": "var", "name": "cmd"} , "env": {"type": "var", "name": "test_env"} + , "timeout scaling": + {"type": "var", "name": "TIMEOUT_SCALE", "default": 1.0} , "may_fail": ["test"] , "no_cache": ["test"] , "fail_message": @@ -181,6 +186,7 @@ , "transition" , "TEST_COMPATIBLE_REMOTE" , "TEST_REMOTE_EXECUTION" + , "TIMEOUT_SCALE" ] , "imports": {"action": "test-action"} , "expression": -- cgit v1.2.3