smengcl commented on code in PR #4862:
URL: https://github.com/apache/ozone/pull/4862#discussion_r1232972945


##########
hadoop-ozone/dist/src/main/compose/common/hadoop-test.sh:
##########
@@ -36,9 +33,21 @@ export OZONE_DIR=/opt/ozone
 # shellcheck source=/dev/null
 source "$COMPOSE_DIR/../testlib.sh"
 
-for scheme in o3fs ofs; do
-  execute_robot_test rm -v "SCHEME:${scheme}" -N 
"hadoop-${HADOOP_VERSION}-hadoopfs-${scheme}" ozonefs/hadoopo3fs.robot
-  execute_robot_test rm -v "SCHEME:${scheme}" -N 
"hadoop-${HADOOP_VERSION}-mapreduce-${scheme}" mapreduce.robot
+for HADOOP_VERSION in 2.7.3 3.1.2 3.2.2 3.3.1; do
+  export HADOOP_VERSION
+  export HADOOP_MAJOR_VERSION=${HADOOP_VERSION%%.*}
+
+  docker-compose --ansi never --profile hadoop up -d nm rm

Review Comment:
   Ah this makes sense. I misunderstood Docker compose profile usage earlier. 
Thanks.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to