sarvekshayr commented on code in PR #11368:
URL: https://github.com/apache/ozone/pull/11368#discussion_r4205181042
##########
hadoop-ozone/dist/src/main/smoketest/basic/links.robot:
##########
@@ -94,6 +94,14 @@ Link to non-existent bucket
${result} = Execute And Ignore Error ozone sh key list
${target}/dangling-link
Should Contain ${result}
BUCKET_NOT_FOUND
+Link to non-existent source volume
+ ${missing} = Generate Random String 5 [NUMBERS]
+ ${missingVol} = Set Variable ${missing}-missing-source
+ Execute ozone sh bucket link
${missingVol}/any-bucket ${target}/dangling-missing-vol
Review Comment:
The test flow is correct - create link, key list and assertions.
I only meant replacing the random name setup with
`no-such-volume/no-such-bucket` link so it reads like the existing "Link to
non-existent bucket" test.
--
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]