You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-issues@hadoop.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2019/10/02 10:28:00 UTC
[jira] [Work logged] (HDDS-2140) Add robot test for GDPR feature
[ https://issues.apache.org/jira/browse/HDDS-2140?focusedWorklogId=321799&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-321799 ]
ASF GitHub Bot logged work on HDDS-2140:
----------------------------------------
Author: ASF GitHub Bot
Created on: 02/Oct/19 10:27
Start Date: 02/Oct/19 10:27
Worklog Time Spent: 10m
Work Description: elek commented on pull request #1542: HDDS-2140. Add robot test for GDPR feature
URL: https://github.com/apache/hadoop/pull/1542#discussion_r330475693
##########
File path: hadoop-ozone/dist/src/main/smoketest/gdpr/gdpr.robot
##########
@@ -0,0 +1,68 @@
+# 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 Ozone GDPR Feature
+Library OperatingSystem
+Library BuiltIn
+Resource ../commonlib.robot
+
+*** Variables ***
+${volume} testvol
+
+*** Test Cases ***
+Test GDPR(disabled) without explicit options
+ Execute ozone sh volume create /${volume} --quota 100TB
Review comment:
Usually I prefer to make the robot tests idempotent. I think it's better to support to run them multiple times and it more safe if we use brand new volume all the time. In ozone-shell it's solved by adding a random string to all the volume names.
```
*** Variables ***
${prefix} generated
*** Keywords ***
Generate prefix
${random} = Generate Random String 5 [NUMBERS]
Set Suite Variable ${prefix} ${random}
*** Test Cases ***
RpcClient with port
Test ozone shell o3:// om:9862 ${prefix}-rpcwoport
```
----------------------------------------------------------------
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:
users@infra.apache.org
Issue Time Tracking
-------------------
Worklog Id: (was: 321799)
Time Spent: 1h (was: 50m)
> Add robot test for GDPR feature
> -------------------------------
>
> Key: HDDS-2140
> URL: https://issues.apache.org/jira/browse/HDDS-2140
> Project: Hadoop Distributed Data Store
> Issue Type: Sub-task
> Components: test
> Reporter: Dinesh Chitlangia
> Assignee: Dinesh Chitlangia
> Priority: Major
> Labels: pull-request-available
> Time Spent: 1h
> Remaining Estimate: 0h
>
> Add robot test for GDPR feature so it can be run during smoke tests.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: hdfs-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-help@hadoop.apache.org