geyanggang opened a new pull request, #10240: URL: https://github.com/apache/gravitino/pull/10240
### What changes were proposed in this pull request? This PR fixes two flaky test issues: 1. Added retry logic in `CatalogsPage.verifyTreeNodes()` to handle StaleElementReferenceException that occurs when DOM is updated during element traversal 2. Added HDFS health check in `launch.sh` to ensure DataNode is fully ready before running tests ### Why are the changes needed? These changes improve CI test stability: 1. The StaleElementReferenceException occurs when Selenium tries to access DOM elements that have been refreshed/updated. Retry logic ensures tests wait for DOM to stabilize. 2. HDFS DataNode needs time to fully initialize after container startup. Without proper health checks, tests may fail when trying to write Iceberg metadata files before HDFS is ready. Fix: #10235 ### Does this PR introduce _any_ user-facing change? No ### How was this patch tested? 1. Manually tested web-v2 integration tests with page refresh scenarios 2. Manually tested Trino connector integration tests with HDFS operations 3. Verified tests pass consistently in local environment -- 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]
