Is your feature request related to a problem? Please describe.
It has been raised a few times when tests have longer running actions such as checkpoints after a test, the CLI main thread can be killed by the timer before all actions are complete e.g.
16 VU TEST
Error: Virtual Users exist, destroy with vudestroy before changing settings
Error: Virtual Users exist, destroy with vudestroy before creating
Transaction Counter thread already running with threadid:tid0x7f95077fe700
Transaction Counter thread running with threadid:tid0x7f95077fe700
Virtual Users still active in background
Wait for Virtual Users to finish?
Enter yes or no: replied yes
Error: can't read "threadscreated(0)": no such variable
Virtual Users remain running in background or shutting down, retry
Transaction Counter thread running with threadid:tid0x7f95077fe700
Stopping Transaction Counter
16 TEST COMPLETE
TRANSACTION RESPONSE TIMES
Jobid {} for virtual user 0 does not exist
Describe the solution you'd like
We should increase the default timeouts set in generic.xml - initially from 10 to 60 seconds to allow tests a minute to complete.
keepalive_margin is for the main thread, xt_gather_timeout is for collecting statistics.
Is your feature request related to a problem? Please describe. It has been raised a few times when tests have longer running actions such as checkpoints after a test, the CLI main thread can be killed by the timer before all actions are complete e.g.
Describe the solution you'd like We should increase the default timeouts set in generic.xml - initially from 10 to 60 seconds to allow tests a minute to complete. keepalive_margin is for the main thread, xt_gather_timeout is for collecting statistics.
Describe alternatives you've considered We already explain here https://github.com/TPC-Council/HammerDB/discussions/622 how to set the values manually i.e.
And we have added a giset command to do this in a more formal way: Add giset command to set generic dictionary settings https://github.com/TPC-Council/HammerDB/pull/646 and also updated the error messages: Add check to vurun for pre-existing threads https://github.com/TPC-Council/HammerDB/pull/644
Additional context 60 seconds seems like a good middle ground, however the solutions above can increase still further if needed.