From 69538b0b85f495f0a51c120b379f052a3c838e14 Mon Sep 17 00:00:00 2001 From: Nandakumar Vadivelu Date: Tue, 3 Dec 2024 00:11:07 +0530 Subject: [PATCH] HDDS-11687. Robot warning: replace "is not" with "!=" (#7516) --- hadoop-ozone/dist/src/main/smoketest/s3/bucketcreate.robot | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hadoop-ozone/dist/src/main/smoketest/s3/bucketcreate.robot b/hadoop-ozone/dist/src/main/smoketest/s3/bucketcreate.robot index 76e0cadf372..7cc40a82c19 100644 --- a/hadoop-ozone/dist/src/main/smoketest/s3/bucketcreate.robot +++ b/hadoop-ozone/dist/src/main/smoketest/s3/bucketcreate.robot @@ -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 \ No newline at end of file + END