adding enough polling time to ensure that test passes from gradle