[SPARK-31723][CORE][TEST] Reenable one test case in HistoryServerSuite
### What changes were proposed in this pull request?
Enable test("static relative links are prefixed with uiRoot (spark.ui.proxyBase)")
### Why are the changes needed?
In Jira, the failed test is another one test("ajax rendered relative links are prefixed with uiRoot (spark.ui.proxyBase)"). This test has been fixed in 6a895d0
### Does this PR introduce _any_ user-facing change?
No
### How was this patch tested?
Fix UT
Closes #28970 from warrenzhu25/31723.
Authored-by: Warren Zhu <zhonzh@microsoft.com>
Signed-off-by: Dongjoon Hyun <dongjoon@apache.org>
This commit is contained in:
parent
3bb1ac597a
commit
d1d16d14bc
|
@ -313,8 +313,7 @@ class HistoryServerSuite extends SparkFunSuite with BeforeAndAfter with Matchers
|
|||
all (directSiteRelativeLinks) should not startWith (knoxBaseUrl)
|
||||
}
|
||||
|
||||
// TODO (SPARK-31723): re-enable it
|
||||
ignore("static relative links are prefixed with uiRoot (spark.ui.proxyBase)") {
|
||||
test("static relative links are prefixed with uiRoot (spark.ui.proxyBase)") {
|
||||
val uiRoot = Option(System.getenv("APPLICATION_WEB_PROXY_BASE")).getOrElse("/testwebproxybase")
|
||||
val page = new HistoryPage(server)
|
||||
val request = mock[HttpServletRequest]
|
||||
|
|
Loading…
Reference in a new issue