adoroszlai commented on code in PR #12119:
URL: https://github.com/apache/ozone/pull/12119#discussion_r4684915856
##########
hadoop-ozone/dist/src/main/smoketest/compatibility/read.robot:
##########
@@ -114,32 +124,33 @@ File Can Be Listed
END
Key List
+ ${result} = Execute Later ozone sh key list /vol1/bucket1
+
IF '${CLIENT_VERSION}' >= '${EC_VERSION}'
- ${result} = Execute ozone sh key list /vol1/bucket1
- Should Contain ${result} key-${DATA_VERSION}
+ Assert Later File ${result} Should Contain key-${DATA_VERSION}
ELSE IF '${DATA_VERSION}' < '${EC_VERSION}' # New client creates
RATIS/ONE key by default: BUG?
- ${result} = Key List With Replication /vol1/bucket1
- Should contain ${result} key-${DATA_VERSION}
RATIS 3
+ Assert Later File ${result} Filtered By ${KEY_REPLICATION_FILTER}
Should Contain key-${DATA_VERSION} RATIS 3
END
Key List In Bucket With Replication
Pass Execution If '${CLUSTER_VERSION}' < '${EC_VERSION}' Cluster does
not support EC
- IF '${CLIENT_VERSION}' < '${EC_VERSION}'
- ${result} = Key List With Replication
/vol1/ratis-${CLUSTER_VERSION}/
- Should contain ${result} key-${DATA_VERSION} RATIS 3
+ ${ratis_result} = Execute Later ozone sh key list
/vol1/ratis-${CLUSTER_VERSION}
+ ${ec_result} = Execute Later ozone sh key list
/vol1/ecbucket-${CLUSTER_VERSION}
- Assert Unsupported ozone sh key list
/vol1/ecbucket-${CLUSTER_VERSION}/
+ IF '${CLIENT_VERSION}' < '${EC_VERSION}'
+ Assert Later File ${ratis_result} Filtered By
${KEY_REPLICATION_FILTER} Should Contain key-${DATA_VERSION} RATIS 3
+ Assert Later File ${ec_result} Should Contain
NOT_SUPPORTED_OPERATION
Review Comment:
Addressed in 6ba5128fbc.
--
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]