diff --git a/bench/action.yml b/bench/action.yml index c02a6fd..dde73f4 100644 --- a/bench/action.yml +++ b/bench/action.yml @@ -64,5 +64,6 @@ runs: sed "s/@@ARMONIK_CORE_VERSION@@/$ARMONIK_CORE_VERSION/g; s/@@NTASKS@@/$NTASKS/g; s/@@SESSION_NAME@@/$SESSION_NAME/g; s/@@GRPC_CLIENT_ENDPOINT@@/$GRPC_CLIENT_ENDPOINT/g" \ ${{ inputs.working-directory }}/tools/ci/bench-job-template.yml | kubectl apply -f - --validate=ignore - echo "session-name=$SESSION_NAME" >> "$GITHUB_OUTPUT" + sleep 5 kubectl wait --for=condition=Complete' --timeout="${TIMEOUT}s" job/bench-session + echo "session-name=$SESSION_NAME" >> "$GITHUB_OUTPUT"