You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ozone.apache.org by sa...@apache.org on 2022/05/24 15:23:00 UTC

[ozone] branch HDDS-3630 updated: HDDS-6791: Add smoke test for Merge RocksDB in datanode feature. (#3448)

This is an automated email from the ASF dual-hosted git repository.

sammichen pushed a commit to branch HDDS-3630
in repository https://gitbox.apache.org/repos/asf/ozone.git


The following commit(s) were added to refs/heads/HDDS-3630 by this push:
     new 0e7b095c30 HDDS-6791: Add smoke test for Merge RocksDB in datanode feature. (#3448)
0e7b095c30 is described below

commit 0e7b095c305a3e8b92bdbb22a8546f6a3d8c3e8e
Author: Sammi Chen <sa...@apache.org>
AuthorDate: Tue May 24 23:22:55 2022 +0800

    HDDS-6791: Add smoke test for Merge RocksDB in datanode feature. (#3448)
---
 .../dist/src/main/compose/compatibility/test.sh    |  1 +
 .../smoketest/compatibility/dn-one-rocksdb.robot   | 29 ++++++++++++++++++++++
 2 files changed, 30 insertions(+)

diff --git a/hadoop-ozone/dist/src/main/compose/compatibility/test.sh b/hadoop-ozone/dist/src/main/compose/compatibility/test.sh
index d0d14f6a65..d849c2bcaf 100755
--- a/hadoop-ozone/dist/src/main/compose/compatibility/test.sh
+++ b/hadoop-ozone/dist/src/main/compose/compatibility/test.sh
@@ -30,6 +30,7 @@ execute_robot_test datanode compatibility/dn.robot
 execute_robot_test om compatibility/om.robot
 execute_robot_test recon compatibility/recon.robot
 execute_robot_test scm compatibility/scm.robot
+execute_robot_test datanode compatibility/dn-one-rocksdb.robot
 
 stop_docker_env
 
diff --git a/hadoop-ozone/dist/src/main/smoketest/compatibility/dn-one-rocksdb.robot b/hadoop-ozone/dist/src/main/smoketest/compatibility/dn-one-rocksdb.robot
new file mode 100644
index 0000000000..1ef6d14f39
--- /dev/null
+++ b/hadoop-ozone/dist/src/main/smoketest/compatibility/dn-one-rocksdb.robot
@@ -0,0 +1,29 @@
+# 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 merge rocksdb in datanode compatibility
+Resource            ../commonlib.robot
+Test Timeout        5 minutes
+
+*** Variables ***
+
+
+*** Test Cases ***
+Create a container and check container schema version
+    ${output} =         Execute          ozone admin container create
+                        Should not contain  ${output}       Failed
+    ${output} =         Execute          ozone debug container list
+                        Should contain  ${output}    \"schemaVersion\" : \"2\"


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@ozone.apache.org
For additional commands, e-mail: commits-help@ozone.apache.org