Is there a way to configure the 1-hour timeout?

Is there a way to configure the 1-hour timeout? I’ve noticed that when this kind of error with stalled machines appears, sometimes it is hard to notice that issue, so we end up having long e2e builds before we even notice that problem. I think that reducing that max. timeout would really help to automate that part for us.

Hi Macy,

Glad to inform you that we have built a max_duration capability that will help with your use case.

Details:

max_duration is accepted as an integer value between 2 and 240 minutes (included).

max_duration is a feature that can be used to add test timeout. The test will stop if max_duration time has elapsed. E.g. If a user adds 2 min as max_duration then the test having an execution time of 5 minutes will stop at 2 minutes. This can be invoked in two ways

  • CLI

lambdatest-cypress-cli run --max_duration=2 (2 minutes max_duration)

  • lambdatest-config.json file

You can add below key/value pair in run_settings object. max_duration":2