Here's an example task definition in the generated JSON from this task
        {
            "name": "aggregation_expression_multiversion_fuzzer_0_enterprise-rhel-80-64-bit-dynamic-required",
            "commands": [
                {
                    "func": "git get project no modules"
                },
                {
                    "func": "do setup"
                },
                {
                    "func": "configure evergreen api credentials"
                },
                {
                    "func": "do multiversion setup"
                },
                {
                    "func": "setup jstestfuzz"
                },
                {
                    "func": "run jstestfuzz",
                    "vars": {
                        "jstestfuzz_vars": "--numGeneratedFiles 5 ",
                        "npm_command": "agg-expr-fuzzer"
                    }
                },
                {
                    "func": "run generated tests",
                    "vars": {
                        "continue_on_failure": "false",
                        "resmoke_args": "--suites=generational_fuzzer --mongodSetParameters='{logComponentVerbosity: {command: 2}}'",
                        "resmoke_jobs_max": "1",
                        "should_shuffle": "false",
                        "require_multiversion": "true",
                        "timeout_secs": "1800",
                        "task": "aggregation_expression_multiversion_fuzzer",
                        "gen_task_config_location": "enterprise-rhel-80-64-bit-dynamic-required/64a119b69ce7ae34ec7eac15e52ad1a08beb5b08/generate_tasks/build_variant_gen-mongodb_mongo_master_enterprise_rhel_80_64_bit_dynamic_required_64a119b69ce7ae34ec7eac15e52ad1a08beb5b08_21_08_03_08_34_20.tgz"
                    }
                }
            ],
            "depends_on": [
                {
                    "name": "archive_dist_test_debug"
                }
            ]
        },
timeout_secs does not appear to be used. The agent log for the actual task shows that the timeout is 2h for all commands and globally.
For non-generated tasks, this is not a problem. The "run tests" function in evergreen.yml calls "update_task_timeout_expansions", whereas the "run generated tests" function does not.
- causes
 - 
                    
SERVER-59295 Increase task timeout for aggregation_timeseries_fuzzer
-         
 - Closed
 
 -