siddhantsangwan commented on code in PR #7524:
URL: https://github.com/apache/ozone/pull/7524#discussion_r1869358604
##########
hadoop-ozone/dist/src/main/smoketest/recon/recon-api.robot:
##########
@@ -57,6 +59,21 @@ Check http return code
Should contain ${result} 200
END
+Check if the listKeys api responds OK
+ [Arguments] ${volume} ${bucket}
+ ${result} = Curl
"${API_ENDPOINT_URL}/keys/listKeys?startPrefix=/${volume}/${bucket}&limit=1000"
+ Should contain ${result} "OK"
+ Should contain ${result} "keys"
+ Should contain ${result} "${volume}"
+ Should contain ${result} "${bucket}"
+
+Curl
+ [Arguments] ${url}
+ ${curl_command} = Set Variable curl -LSs ${url}
+ Run Keyword if '${SECURITY_ENABLED}' == 'true' Set Variable
${curl_command} curl --negotiate -u : -LSs ${url}
Review Comment:
I added code to kinit and to use curl directly without any conditions. It
should hopefully pass now; I checked out a separate branch with the same code
and ran CI successfully on my fork (just for testing):
https://github.com/siddhantsangwan/ozone/actions/runs/12157989638
--
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]