Joe McDonnell has uploaded this change for review. ( http://gerrit.cloudera.org:8080/18832
Change subject: IMPALA-11250: Adapt Webserver.TestWithSpnego for curl >= 7.64.0 ...................................................................... IMPALA-11250: Adapt Webserver.TestWithSpnego for curl >= 7.64.0 Curl changed behaviors in 7.64.0. Previously, it would attempt to connect without authentication, and for the SPNEGO test, this would result in a failed attempt. Starting in Curl 7.64, there is no attempt without authentication, so the count of failed attempts is one less. This detects whether the curl version is 7.64.0 or above and adjusts the count of failed attempts accordingly. Testing: - Ran Webserver.TestWithSpnego on Ubuntu 20 (curl version 7.68) - Ran Webserver.TestWithSpnego on Ubuntu 16 (curl version 7.47) Change-Id: Icc9b92b334f878792ee649dafa30aed617e55589 --- M be/src/util/webserver-test.cc 1 file changed, 29 insertions(+), 8 deletions(-) git pull ssh://gerrit.cloudera.org:29418/Impala-ASF refs/changes/32/18832/1 -- To view, visit http://gerrit.cloudera.org:8080/18832 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-Project: Impala-ASF Gerrit-Branch: master Gerrit-MessageType: newchange Gerrit-Change-Id: Icc9b92b334f878792ee649dafa30aed617e55589 Gerrit-Change-Number: 18832 Gerrit-PatchSet: 1 Gerrit-Owner: Joe McDonnell <[email protected]> Gerrit-Reviewer: Impala Public Jenkins <[email protected]>
