This is an automated email from the ASF dual-hosted git repository.
rakeshr pushed a commit to branch HDDS-2939
in repository https://gitbox.apache.org/repos/asf/ozone.git
The following commit(s) were added to refs/heads/HDDS-2939 by this push:
new a4a9971 HDDS-5093. [FSO] Reducing time of ozonefs acceptance
testmatrix (#2164)
a4a9971 is described below
commit a4a9971f21fd29c05f7f12e0d1ca2d44cd751e84
Author: Elek, Márton <[email protected]>
AuthorDate: Mon Apr 26 18:51:29 2021 +0200
HDDS-5093. [FSO] Reducing time of ozonefs acceptance testmatrix (#2164)
---
hadoop-ozone/dist/src/main/compose/ozone/test.sh | 31 +++++++++++-------------
1 file changed, 14 insertions(+), 17 deletions(-)
diff --git a/hadoop-ozone/dist/src/main/compose/ozone/test.sh
b/hadoop-ozone/dist/src/main/compose/ozone/test.sh
index 202e32b..eb6067e 100755
--- a/hadoop-ozone/dist/src/main/compose/ozone/test.sh
+++ b/hadoop-ozone/dist/src/main/compose/ozone/test.sh
@@ -49,25 +49,22 @@ execute_robot_test scm freon
execute_robot_test scm cli
-stop_docker_env
+
+execute_robot_test scm -v SCHEME:ofs -v BUCKET_TYPE:bucket -N
ozonefs-simple-ofs-bucket ozonefs/ozonefs.robot
+execute_robot_test scm -v SCHEME:o3fs -v BUCKET_TYPE:link -N
ozonefs-simple-o3fs-link ozonefs/ozonefs.robot
# running FS tests with different config requires restart of the cluster
export OZONE_KEEP_RESULTS=true
-export OZONE_OM_METADATA_LAYOUT OZONE_OM_ENABLE_FILESYSTEM_PATHS
-for OZONE_OM_METADATA_LAYOUT in SIMPLE PREFIX; do
- if [[ $OZONE_OM_METADATA_LAYOUT == "PREFIX" ]]; then
- OZONE_OM_ENABLE_FILESYSTEM_PATHS=true
- else
- OZONE_OM_ENABLE_FILESYSTEM_PATHS=false
- fi
-
- start_docker_env
- for scheme in ofs o3fs; do
- for bucket in link bucket; do
- execute_robot_test scm -v SCHEME:${scheme} -v BUCKET_TYPE:${bucket} -N
ozonefs-${OZONE_OM_METADATA_LAYOUT}-${scheme}-${bucket} ozonefs/ozonefs.robot
- done
- done
- stop_docker_env
-done
+stop_docker_env
+
+## Restarting the cluster with prefix-layout enabled (FSO)
+OZONE_OM_METADATA_LAYOUT=PREFIX
+OZONE_OM_ENABLE_FILESYSTEM_PATHS=true
+start_docker_env
+
+execute_robot_test scm -v SCHEME:ofs -v BUCKET_TYPE:link -N
ozonefs-prefix-ofs-link ozonefs/ozonefs.robot
+execute_robot_test scm -v SCHEME:o3fs -v BUCKET_TYPE:bucket -N
ozonefs-prefix-o3fs-bucket ozonefs/ozonefs.robot
+
+stop_docker_env
generate_report
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]