As part of WT-9323 we found that we can't set an explicit amount of time to sleep win __wt_timing_stress. Instead, the function will sleep for a semi-random amount of time. There are other similar functions like __checkpoint_timing_stress that behave similarly, but do allow the user to specify how long to sleep for.
We should unify these functions into a single function that allows the user to specify how long to sleep for, or if no duration is provided use the default behaviour in __wt_timing_stress