fixed the waiting time for a test case that could fail on slow machines.