From 586da1c8e4f5ea2a78ce4e77b34a5035de088a70 Mon Sep 17 00:00:00 2001 From: Iceber Gu Date: Fri, 14 Jun 2024 11:31:54 +0800 Subject: [PATCH] test temp Signed-off-by: Iceber Gu --- test/environments/default.env.sh | 8 ++++---- test/environments/multiple.env.sh | 5 +++-- 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/test/environments/default.env.sh b/test/environments/default.env.sh index 882131c4e..b77466032 100755 --- a/test/environments/default.env.sh +++ b/test/environments/default.env.sh @@ -12,16 +12,16 @@ source "$(dirname "${BASH_SOURCE[0]}")/../helper.sh" function cleanup() { "${ROOT}/hack/clean-clusterconfigs.sh" >/dev/null 2>&1 - delete_data_plane data-v1-28 >/dev/null 2>&1 - delete_control_plane control-v1-28 >/dev/null 2>&1 + delete_data_plane data-v1-30 >/dev/null 2>&1 + delete_control_plane control-v1-30 >/dev/null 2>&1 } trap cleanup EXIT -create_control_plane control-v1-28 v1.28.0 || { +create_control_plane control-v1-30 v1.30.2 || { echo "Failed to create control plane" exit 1 } -create_data_plane data-v1-28 v1.28.2 || { +create_data_plane data-v1-30 v1.30.2 || { echo "Failed to create data plane" exit 1 } diff --git a/test/environments/multiple.env.sh b/test/environments/multiple.env.sh index 364b5d605..aeb5f606a 100755 --- a/test/environments/multiple.env.sh +++ b/test/environments/multiple.env.sh @@ -11,6 +11,7 @@ cases="${1}" source "$(dirname "${BASH_SOURCE[0]}")/../helper.sh" releases=( + v1.28.2 v1.28.2 v1.27.6 v1.26.9 @@ -33,11 +34,11 @@ function cleanup() { for release in "${releases[@]}"; do delete_data_plane "data-${release//./-}" >/dev/null 2>&1 done - delete_control_plane control-v1-28 >/dev/null 2>&1 + delete_control_plane control-v1-30 >/dev/null 2>&1 } trap cleanup EXIT -create_control_plane control-v1-28 v1.28.0 || { +create_control_plane control-v1-30 v1.30.2 || { echo "Failed to create control plane" exit 1 }