ishikin commented on a change in pull request #27311: [SPARK-27996][WEBUI] Send
HTTP redirect using the correct protocol when Spark History server is deployed
behind the reverse proxy
URL: https://github.com/apache/spark/pull/27311#discussion_r370836900
##########
File path:
core/src/test/scala/org/apache/spark/deploy/history/ApplicationCacheSuite.scala
##########
@@ -380,4 +382,27 @@ class ApplicationCacheSuite extends SparkFunSuite with
Logging with MockitoSugar
verify(resp).sendRedirect("http://localhost:18080/history/local-123/jobs/job/?id=2")
}
+ test("redirect respects X-Forwarded-Proto header") {
Review comment:
I have changed the unit test name
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]