You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ozone.apache.org by ad...@apache.org on 2023/02/18 21:03:11 UTC
[ozone] branch master updated: HDDS-7988. Run S3 tests with HA Proxy (#4284)
This is an automated email from the ASF dual-hosted git repository.
adoroszlai pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/ozone.git
The following commit(s) were added to refs/heads/master by this push:
new d2e3e7580d HDDS-7988. Run S3 tests with HA Proxy (#4284)
d2e3e7580d is described below
commit d2e3e7580dff33a262796a95d95f17660aad6f8c
Author: Doroszlai, Attila <64...@users.noreply.github.com>
AuthorDate: Sat Feb 18 22:03:05 2023 +0100
HDDS-7988. Run S3 tests with HA Proxy (#4284)
---
hadoop-ozone/dist/src/main/compose/ozones3-haproxy/test.sh | 4 +++-
hadoop-ozone/dist/src/main/smoketest/s3/webui.robot | 2 +-
2 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/hadoop-ozone/dist/src/main/compose/ozones3-haproxy/test.sh b/hadoop-ozone/dist/src/main/compose/ozones3-haproxy/test.sh
index f4bfcc3d57..238e7577a7 100755
--- a/hadoop-ozone/dist/src/main/compose/ozones3-haproxy/test.sh
+++ b/hadoop-ozone/dist/src/main/compose/ozones3-haproxy/test.sh
@@ -18,12 +18,14 @@
COMPOSE_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )"
export COMPOSE_DIR
+export SECURITY_ENABLED=false
+
# shellcheck source=/dev/null
source "$COMPOSE_DIR/../testlib.sh"
start_docker_env
-execute_robot_test scm basic/basic.robot
+execute_robot_test scm s3
stop_docker_env
diff --git a/hadoop-ozone/dist/src/main/smoketest/s3/webui.robot b/hadoop-ozone/dist/src/main/smoketest/s3/webui.robot
index 7923f0a8f2..43bd76659b 100644
--- a/hadoop-ozone/dist/src/main/smoketest/s3/webui.robot
+++ b/hadoop-ozone/dist/src/main/smoketest/s3/webui.robot
@@ -32,7 +32,7 @@ ${BUCKET} generated
S3 Gateway Web UI
Run Keyword if '${SECURITY_ENABLED}' == 'true' Kinit HTTP user
${result} = Execute curl --negotiate -u : -v ${ENDPOINT_URL}
- Should contain ${result} Location
+ Should contain ${result} Location: ignore_case=True
Should contain ${result} /static/
${result} = Execute curl --negotiate -u : -v ${ENDPOINT_URL}/static/index.html
Should contain ${result} Apache Ozone S3
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@ozone.apache.org
For additional commands, e-mail: commits-help@ozone.apache.org