jojochuang commented on a change in pull request #2356:
URL: https://github.com/apache/ozone/pull/2356#discussion_r656696838
##########
File path: hadoop-ozone/dist/src/main/smoketest/spnego/web.robot
##########
@@ -41,7 +41,7 @@ Verify SPNEGO enabled URL
[arguments] ${url}
Run Keyword if '${SECURITY_ENABLED}' == 'true' Execute
kdestroy
${result} = Execute curl --negotiate
-u : -v -s -I ${url}
- Should contain ${result} 401 Unauthorized
+ Should contain ${result} 401 Authentication required
Review comment:
This is changed by the Jetty version upgrade in Hadoop 3.3.1
(HADOOP-17371 ) where Hadoop adds back the ability to specify a custom error
message (the standard error message is "401 Unauthorized") for Jetty >= 9.4.21.
By the HTTP standard, applications are not supposed to depend on the error
message (only error code) so I think this is fine.
--
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]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]