This is an automated email from the ASF dual-hosted git repository.
bharat pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/hadoop-ozone.git
The following commit(s) were added to refs/heads/master by this push:
new 093f556 HDDS-4025. Add test for creating encrypted key (#1254)
093f556 is described below
commit 093f5560c645c745e331e9e5ee3c47ff75015783
Author: Doroszlai, Attila <[email protected]>
AuthorDate: Sat Jul 25 07:19:24 2020 +0200
HDDS-4025. Add test for creating encrypted key (#1254)
---
.../dist/src/main/smoketest/security/bucket-encryption.robot | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git
a/hadoop-ozone/dist/src/main/smoketest/security/bucket-encryption.robot
b/hadoop-ozone/dist/src/main/smoketest/security/bucket-encryption.robot
index e1f96b1..a78f94e 100644
--- a/hadoop-ozone/dist/src/main/smoketest/security/bucket-encryption.robot
+++ b/hadoop-ozone/dist/src/main/smoketest/security/bucket-encryption.robot
@@ -20,7 +20,7 @@ Library String
Resource ../commonlib.robot
Resource ../lib/os.robot
Resource ../ozone-lib/shell.robot
-Test Setup Setup Test
+Suite Setup Setup Test
Test Timeout 5 minutes
*** Variables ***
@@ -38,3 +38,8 @@ Create Encrypted Bucket
${output} = Execute ozone sh bucket create -k ${KEY_NAME}
o3://${OM_SERVICE_ID}/${VOLUME}/encrypted-bucket
Should Not Contain ${output} INVALID_REQUEST
Bucket Exists o3://${OM_SERVICE_ID}/${VOLUME}/encrypted-bucket
+
+Create Key in Encrypted Bucket
+ ${key} = Set Variable
o3://${OM_SERVICE_ID}/${VOLUME}/encrypted-bucket/passwd
+ ${output} = Execute ozone sh key put ${key} /etc/passwd
+ Key Should Match Local File ${key} /etc/passwd
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]