spin a bit to wait for condition in test, so slow machines will still run it correctly