Replace sleep statements with wait_until_succeeds
the default hasn't been changed since 2009 this can improve our test performances nixos/tests: remove explicit memorySize <1024 1024MiB is now the default
It was breaking evaluation on Hydra.