refactor: adjust test timeouts to avoid flaky test on windows (#6638)
### Description
A test on windows is failing due to timeouts (again ...). This adjusts
the thresholds to be a little more generous at the cost of running the
test for longer.
### Testing Instructions
CI