diff --git a/functions b/functions index 6f2164a777..faa6b761ab 100644 --- a/functions +++ b/functions @@ -407,6 +407,20 @@ EOF return $rval } +function wait_for_compute { + local timeout=$1 + time_start "wait_for_service" + timeout $timeout bash -x < 30 seconds + # happen between here and the script ending. However, in multinode + # tests this can very often not be the case. So ensure that the + # compute is up before we move on. + wait_for_compute 60 export PATH=$old_path }