-
Notifications
You must be signed in to change notification settings - Fork 29k
[SPARK-31756][WEBUI] Add real headless browser support for UI test #28627
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from 1 commit
424092a
4fe3e80
760eb0a
c2f6a6d
e701dc9
6ccbc39
7e49348
6b47fe8
70d07a3
2e805ec
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
- Loading branch information
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -967,6 +967,9 @@ object TestSettings { | |
| "2.12" | ||
| } | ||
| */ | ||
|
|
||
| private val defaultExcludedTagsForScalaTest = Seq("org.apache.spark.tags.ChromeUITest") | ||
|
|
||
| lazy val settings = Seq ( | ||
| // Fork new JVMs for tests and set Java options for those | ||
| fork := true, | ||
|
|
@@ -1001,9 +1004,9 @@ object TestSettings { | |
| javaOptions += "-Xmx3g", | ||
| // Exclude tags defined in a system property | ||
| testOptions in Test += Tests.Argument(TestFrameworks.ScalaTest, | ||
| sys.props.get("test.exclude.tags").map { tags => | ||
| tags.split(",").flatMap { tag => Seq("-l", tag) }.toSeq | ||
| }.getOrElse(Nil): _*), | ||
| sys.props.get("test.exclude.tags").map(tag => tag.split(",").toSeq) | ||
| .getOrElse(defaultExcludedTagsForScalaTest).filter(!_.trim.isEmpty) | ||
|
||
| .flatMap(tag => Seq("-l", tag)): _*), | ||
| testOptions in Test += Tests.Argument(TestFrameworks.JUnit, | ||
| sys.props.get("test.exclude.tags").map { tags => | ||
| Seq("--exclude-categories=" + tags) | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could you add some comment before this line?