Marton Greber has submitted this change and it was merged. ( 
http://gerrit.cloudera.org:8080/23548 )

Change subject: Enable REST API endpoints in webserver crawl test
......................................................................

Enable REST API endpoints in webserver crawl test

Modified WebserverCrawlITest to enable REST API endpoints by setting
enable_rest_api = true in the cluster options.

Also added exclusion logic for large JavaScript bundles (like
swagger-ui-bundle.js) to prevent test failures. The HTML parser
(gumbo-query) incorrectly treats minified JavaScript as parseable
HTML content and extracts code fragments as malformed URLs, causing
curl errors when the test tries to fetch them. These JavaScript files
are still validated by the initial HTTP fetch; we simply skip the
inappropriate step of parsing them for links.

Change-Id: I5be128536d4f104e2d3bfa55c02b81e6f114d5fc
Reviewed-on: http://gerrit.cloudera.org:8080/23548
Reviewed-by: Alexey Serbin <[email protected]>
Reviewed-by: Marton Greber <[email protected]>
Tested-by: Marton Greber <[email protected]>
---
M src/kudu/integration-tests/webserver-crawl-itest.cc
1 file changed, 17 insertions(+), 0 deletions(-)

Approvals:
  Alexey Serbin: Looks good to me, approved
  Marton Greber: Looks good to me, but someone else must approve; Verified

--
To view, visit http://gerrit.cloudera.org:8080/23548
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-MessageType: merged
Gerrit-Change-Id: I5be128536d4f104e2d3bfa55c02b81e6f114d5fc
Gerrit-Change-Number: 23548
Gerrit-PatchSet: 4
Gerrit-Owner: Gabriella Lotz <[email protected]>
Gerrit-Reviewer: Alexey Serbin <[email protected]>
Gerrit-Reviewer: Ashwani Raina <[email protected]>
Gerrit-Reviewer: Gabriella Lotz <[email protected]>
Gerrit-Reviewer: Kudu Jenkins (120)
Gerrit-Reviewer: Marton Greber <[email protected]>

Reply via email to