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 2022/05/04 19:05:59 UTC

[ozone] branch master updated: HDDS-6669. Exercise OM in ozonescripts environment (#3367)

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 a3f5021b23 HDDS-6669. Exercise OM in ozonescripts environment (#3367)
a3f5021b23 is described below

commit a3f5021b23cc09af95f9053511a9624dab226029
Author: Doroszlai, Attila <64...@users.noreply.github.com>
AuthorDate: Wed May 4 21:05:55 2022 +0200

    HDDS-6669. Exercise OM in ozonescripts environment (#3367)
---
 .../dist/src/main/compose/ozonescripts/test.sh     |  1 +
 .../src/main/smoketest/basic/single_node.robot     | 29 ++++++++++++++++++++++
 2 files changed, 30 insertions(+)

diff --git a/hadoop-ozone/dist/src/main/compose/ozonescripts/test.sh b/hadoop-ozone/dist/src/main/compose/ozonescripts/test.sh
index 6b4ef15d7a..01410ece07 100755
--- a/hadoop-ozone/dist/src/main/compose/ozonescripts/test.sh
+++ b/hadoop-ozone/dist/src/main/compose/ozonescripts/test.sh
@@ -37,6 +37,7 @@ start_docker_env 1
 ${COMPOSE_DIR}/start.sh
 ${COMPOSE_DIR}/ps.sh
 
+execute_robot_test scm basic/single_node.robot
 execute_robot_test scm admincli/pipeline.robot
 
 ${COMPOSE_DIR}/stop.sh
diff --git a/hadoop-ozone/dist/src/main/smoketest/basic/single_node.robot b/hadoop-ozone/dist/src/main/smoketest/basic/single_node.robot
new file mode 100644
index 0000000000..a55d6b65dd
--- /dev/null
+++ b/hadoop-ozone/dist/src/main/smoketest/basic/single_node.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       Smoketest for one datanode
+Library             OperatingSystem
+Resource            ../commonlib.robot
+Resource            ../ozone-lib/freon.robot
+Test Timeout        5 minutes
+
+*** Test Cases ***
+
+Basic Freon smoketest for one datanode
+    Run Keyword if    '${SECURITY_ENABLED}' == 'true'    Kinit test user     testuser     testuser.keytab
+    ${random} =        Generate Random String    10
+    Freon OCKG    prefix=${random}   args=--replication ONE --replication-type RATIS
+    Freon OCKV    prefix=${random}


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