You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by GitBox <gi...@apache.org> on 2020/03/05 01:05:27 UTC

[GitHub] [hadoop-ozone] vivekratnavel commented on a change in pull request #633: HDDS-3123. Create REST API to serve Pipeline information and integrate with UI in Recon

vivekratnavel commented on a change in pull request #633: HDDS-3123. Create REST API to serve Pipeline information and integrate with UI in Recon
URL: https://github.com/apache/hadoop-ozone/pull/633#discussion_r388024987
 
 

 ##########
 File path: hadoop-ozone/dist/src/main/smoketest/recon/recon-api.robot
 ##########
 @@ -34,6 +34,13 @@ Recon REST API
                         Should contain      ${result}       ozone_datanode_1.ozone_default
                         Should contain      ${result}       ozone_datanode_2.ozone_default
                         Should contain      ${result}       ozone_datanode_3.ozone_default
+    ${result} =         Execute                             curl --negotiate -u : -v ${API_ENDPOINT_URL}/pipelines
+                        Should contain      ${result}       pipelines
+                        Should contain      ${result}       RATIS
+                        Should contain      ${result}       OPEN
 
 Review comment:
   Added a 2s delay before executing CURL calls. I don't think this will be flaky since recon tests will run after several other tests in both `ozone` and `ozone-secure` docker-compose. That should give recon a lot of time to get heartbeats. I have also run this test locally with recon tests running first after docker setup is up and haven't faced any flakiness issues. I am positive that this will not be flaky.

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: ozone-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: ozone-issues-help@hadoop.apache.org