Skip to content

Commit

Permalink
HDDS-11687. Robot warning: replace "is not" with "!=" (apache#7516)
Browse files Browse the repository at this point in the history
  • Loading branch information
nandakumar131 authored Dec 2, 2024
1 parent b60d897 commit 69538b0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions hadoop-ozone/dist/src/main/smoketest/s3/bucketcreate.robot
Original file line number Diff line number Diff line change
Expand Up @@ -46,9 +46,9 @@ Create new bucket and check no group ACL
${bucket} = Create bucket
${acl} = Execute ozone sh bucket getacl s3v/${bucket}
${group} = Get Regexp Matches ${acl} "GROUP"
IF '${group}' is not '[]'
IF '${group}' != '[]'
${json} = Evaluate json.loads('''${acl}''') json
# make sure this check is for group acl
Should contain ${json}[1][type] GROUP
Should contain ${json}[1][aclList] NONE
END
END

0 comments on commit 69538b0

Please sign in to comment.