Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[SPARK-47020][CORE][TESTS] Fix
RealBrowserUISeleniumSuite
### What changes were proposed in this pull request? This PR aims to fix `RealBrowserUISeleniumSuite` which has been broken after SPARK-45274. - apache#43053 ### Why are the changes needed? To recover `RealBrowserUISeleniumSuite` according to the latest HTML structure. ### Does this PR introduce _any_ user-facing change? No. ### How was this patch tested? Manual ``` $ build/sbt -Dguava.version=32.1.2-jre \ -Dspark.test.webdriver.chrome.driver=/opt/homebrew/bin/chromedriver \ -Dtest.default.exclude.tags="" -Phive -Phive-thriftserver \ "core/testOnly org.apache.spark.ui.ChromeUISeleniumSuite" ``` **BEFORE** ``` [info] ChromeUISeleniumSuite: [info] - SPARK-31534: text for tooltip should be escaped *** FAILED *** (12 seconds, 752 milliseconds) [info] - SPARK-31882: Link URL for Stage DAGs should not depend on paged table. (2 seconds, 363 milliseconds) [info] - SPARK-31886: Color barrier execution mode RDD correctly *** FAILED *** (12 seconds, 143 milliseconds) [info] - Search text for paged tables should not be saved (3 seconds, 47 milliseconds) [info] Run completed in 32 seconds, 54 milliseconds. [info] Total number of tests run: 4 [info] Suites: completed 1, aborted 0 [info] Tests: succeeded 2, failed 2, canceled 0, ignored 0, pending 0 [info] *** 2 TESTS FAILED *** [error] Failed tests: [error] org.apache.spark.ui.ChromeUISeleniumSuite [error] (core / Test / testOnly) sbt.TestsFailedException: Tests unsuccessful [error] Total time: 42 s, completed Feb 9, 2024, 5:32:52 PM ``` **AFTER** ``` [info] ChromeUISeleniumSuite: [info] - SPARK-31534: text for tooltip should be escaped (3 seconds, 135 milliseconds) [info] - SPARK-31882: Link URL for Stage DAGs should not depend on paged table. (2 seconds, 395 milliseconds) [info] - SPARK-31886: Color barrier execution mode RDD correctly (2 seconds, 144 milliseconds) [info] - Search text for paged tables should not be saved (2 seconds, 958 milliseconds) [info] Run completed in 12 seconds, 377 milliseconds. [info] Total number of tests run: 4 [info] Suites: completed 1, aborted 0 [info] Tests: succeeded 4, failed 0, canceled 0, ignored 0, pending 0 [info] All tests passed. [success] Total time: 22 s, completed Feb 9, 2024, 5:34:24 PM ``` ### Was this patch authored or co-authored using generative AI tooling? No. Closes apache#45078 from dongjoon-hyun/SPARK-47020. Authored-by: Dongjoon Hyun <dhyun@apple.com> Signed-off-by: Dongjoon Hyun <dhyun@apple.com>
- Loading branch information