Skip to content

Commit

Permalink
correct expression catching stockout (knative#724)
Browse files Browse the repository at this point in the history
  • Loading branch information
chaodaiG authored and knative-prow-robot committed May 1, 2019
1 parent ead907c commit 03b0eab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/e2e-tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -258,7 +258,7 @@ function create_test_cluster_with_retries() {
# Exit if test succeeded
[[ "$(get_test_return_code)" == "0" ]] && return
# If test failed not because of cluster creation stockout, return
[[ -z "$(grep -Eio 'does not have enough resources to fulfill the request' ${cluster_creation_log})" ]] && return
[[ -z "$(grep -Eio 'does not have enough resources available to fulfill the request' ${cluster_creation_log})" ]] && return
done
done
}
Expand Down

0 comments on commit 03b0eab

Please sign in to comment.