smengcl commented on code in PR #4188:
URL: https://github.com/apache/ozone/pull/4188#discussion_r1559090113
##########
hadoop-ozone/dist/src/main/smoketest/security/ozone-secure-tenant.robot:
##########
@@ -66,13 +66,18 @@ Verify Bucket 1 Owner
${result} = Execute ozone sh bucket info
/tenantone/bucket-test1 | jq -r '.owner'
Should Be Equal ${result} testuser
-Put, get and delete a key in the tenant bucket
+Put a key in the tenant bucket
Execute echo "Randomtext" >
/tmp/testfile
Execute and checkrc aws s3api --endpoint-url
${S3G_ENDPOINT_URL} put-object --bucket bucket-test1 --key mykey --body
/tmp/testfile 0
+
+Verify Object Owner
+ ${result} = Execute ozone sh key info
/tenantone/bucket-test1/mykey | jq -r '.owner'
+ Should Be Equal ${result} testuser
Review Comment:
I am fine with this addition. Just curious, IIUC because Ozone was faking
key owner before, this check would still pass without key owner right?
--
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.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]