Automatic test set cancellation after reaching a time limit

Hello Everyone, I have a problem.

Is there an automatic option to cancel a Test Set Execution if it’s running for over 15 minutes (or any other time limit)?

The tests are being run from an API call, by a client and we do not know when they start the tests. Sometimes there is a problem in the execution, the bot freezes and until somebody checks the orchestrator, to cancel the run, it blocks the machine and other tests from execution.

We checked the VM logs and the resources are not used in even 80% at any point in time (so freezing in not caused by the lack of the RAM/CPU resources).

For some reason when the bot freezes the timeout functionality doesn’t work so it doesn’t throw an exception → process won’t kill applications and the process won’t end.

The obvious option is to check and fix the test workflow/process, but maybe there is a method that comes to your mind that would enable automatic test set cancellation?

Thanks in advance!

Hi @mateusz.orczewski,

Enabling maintainence mode on that machine can come in handy to take control of such situation.

You can either choose to do it from orchestrator or via api.

Regards
Sonali

Hi @sonaliaggarwal47 ,

Thanks for the reply! Won’t maintenance mode do the same thing as clicking “close” in the “Test Executions” tab in Orchestrator? I would have to enable it manually and then disable it manually right? Is there an option to do it automatically → other than creating an automation that will call an Orchestrator API?

Kind Regards,
Mateusz

Hi @mateusz.orczewski,

I don’t think there is any way to enable/disable maintenance mode automatically without calling its api or doing from orchestrator manually.

Regards
Sonali

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.