From 13606fbde800448cbf841ef1eb7266e7467c03c7 Mon Sep 17 00:00:00 2001 From: miki3421 <42601846+miki3421@users.noreply.github.com> Date: Thu, 22 Oct 2026 12:16:21 +0200 Subject: [PATCH] Reject failed S3 test configuration and remove obsolete MinIO commands --- tests/5-sys-seaweedfs.sh | 5 ++--- tests/7-static.sh | 5 ++--- 2 files changed, 4 insertions(+), 6 deletions(-) diff --git a/tests/5-sys-seaweedfs.sh b/tests/5-sys-seaweedfs.sh index d0f3bbf..cfa05fb 100755 --- a/tests/5-sys-seaweedfs.sh +++ b/tests/5-sys-seaweedfs.sh @@ -16,9 +16,8 @@ # specific language governing permissions and limitations # under the License. -ops config disable --minio -ops config enable --seaweedfs -ops update apply +ops config enable --seaweedfs || exit $? +ops update apply || exit $? ops setup openserverless wait-cm JSONPATH='{.metadata.annotations.s3_bucket_data}' ops setup openserverless wait-cm-value \ JSONPATH='{.metadata.annotations.s3_provider}' \ diff --git a/tests/7-static.sh b/tests/7-static.sh index 34342f6..3b63cf7 100755 --- a/tests/7-static.sh +++ b/tests/7-static.sh @@ -18,9 +18,8 @@ TYPE="${1:?test type}" TYPE="$(echo $TYPE | awk -F- '{print $1}')" -ops config disable --minio -ops config enable --seaweedfs --static -ops update apply +ops config enable --seaweedfs --static || exit $? +ops update apply || exit $? ops util kube waitfor FOR=condition=ready OBJ=pod/openserverless-static-0 TIMEOUT=60 ops setup openserverless wait-cm-value \