From 03b0eab127a39bccf71c1eadc3446f7fb13f8669 Mon Sep 17 00:00:00 2001 From: chaodaiG <45011425+chaodaiG@users.noreply.github.com> Date: Wed, 1 May 2019 10:14:34 -0700 Subject: [PATCH] correct expression catching stockout (#724) --- scripts/e2e-tests.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/e2e-tests.sh b/scripts/e2e-tests.sh index 868b36d7eb..133cc75baa 100755 --- a/scripts/e2e-tests.sh +++ b/scripts/e2e-tests.sh @@ -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 }