adoroszlai commented on a change in pull request #1667:
URL: https://github.com/apache/ozone/pull/1667#discussion_r544614678



##########
File path: hadoop-ozone/dist/src/main/smoketest/cli/classpath.robot
##########
@@ -0,0 +1,46 @@
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements.  See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License.  You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+*** Settings ***
+Documentation       Test ozone classpath command
+Library             BuiltIn
+Resource            ../lib/os.robot
+Resource            ../ozone-lib/shell.robot
+Test Timeout        5 minutes
+Suite Setup         Find Jars Dir
+
+*** Test Cases ***
+Ignores HADOOP_CLASSPATH if OZONE_CLASSPATH is set

Review comment:
       Yes.  There is a compatibility test for this.  We define some old `OPTS`:
   
   
https://github.com/apache/ozone/blob/a70def928eca460dcf5abb3b0dfe87f01cec29e5/hadoop-ozone/dist/src/main/compose/compatibility/docker-config#L31-L34
   
   and then check if these are passed to the java process that `ozone om` 
command starts:
   
   
https://github.com/apache/ozone/blob/e54c4390bcc8374970baa120b6c6d9b5a375ff1d/hadoop-ozone/dist/src/main/smoketest/compatibility/om.robot#L23-L27
   
   (Similar test exists for other components.)




----------------------------------------------------------------
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.

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