Github user tdas commented on a diff in the pull request:
https://github.com/apache/spark/pull/5983#discussion_r29885767
--- Diff: core/src/test/scala/org/apache/spark/ui/UISeleniumSuite.scala ---
@@ -44,7 +46,33 @@ class UISeleniumSuite extends FunSuite with WebBrowser
with Matchers with Before
implicit var webDriver: WebDriver = _
override def beforeAll(): Unit = {
- webDriver = new HtmlUnitDriver
+ webDriver = new HtmlUnitDriver {
+
+ getWebClient.setCssErrorHandler(new DefaultCssErrorHandler {
--- End diff --
This new handler's code is triplicated. Cant you just define a class?
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]