I have tests which run for 2 hours long and 10 minutes long.
I need to implement a timeout mechanism to prevent any runaway simulation.
I cannot put a global_timeout_value of 2 hours for all tests.
What is the best way to implement a timeout based on the duration of the tests
1. If the simulation run is normally 10 minutes, timeout should happen at 20 minutes
2. If the simulation run is normally 100 minutes, timeout should happen at 110 minutes
What method can I use ?