Repository: mesos Updated Branches: refs/heads/master 6eb2f98b3 -> dc6cde747
Temporarily disabled http authentication tests while MESOS-4142 is fixed. Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/1d4f50a2 Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/1d4f50a2 Diff: http://git-wip-us.apache.org/repos/asf/mesos/diff/1d4f50a2 Branch: refs/heads/master Commit: 1d4f50a27b2c9626b19b79e7a23bfa41cc12b942 Parents: 6eb2f98 Author: Benjamin Mahler <[email protected]> Authored: Mon Dec 14 08:48:57 2015 -0600 Committer: Benjamin Mahler <[email protected]> Committed: Mon Dec 14 08:48:57 2015 -0600 ---------------------------------------------------------------------- 3rdparty/libprocess/src/tests/http_tests.cpp | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/mesos/blob/1d4f50a2/3rdparty/libprocess/src/tests/http_tests.cpp ---------------------------------------------------------------------- diff --git a/3rdparty/libprocess/src/tests/http_tests.cpp b/3rdparty/libprocess/src/tests/http_tests.cpp index 9fe2703..132e3c5 100644 --- a/3rdparty/libprocess/src/tests/http_tests.cpp +++ b/3rdparty/libprocess/src/tests/http_tests.cpp @@ -1204,7 +1204,8 @@ public: }; -class HttpAuthenticationTest : public ::testing::Test +// TODO(bmahler): These are disabled while MESOS-4142 is fixed. +class DISABLED_HttpAuthenticationTest : public ::testing::Test { protected: Future<Nothing> setAuthenticator( @@ -1234,7 +1235,7 @@ private: // Ensures that when there is no authenticator for a realm, // requests are not authenticated (i.e. the principal is None). -TEST_F(HttpAuthenticationTest, NoAuthenticator) +TEST_F(DISABLED_HttpAuthenticationTest, NoAuthenticator) { Http http; @@ -1249,7 +1250,7 @@ TEST_F(HttpAuthenticationTest, NoAuthenticator) // Tests that an authentication Unauthorized result is exposed correctly. -TEST_F(HttpAuthenticationTest, Unauthorized) +TEST_F(DISABLED_HttpAuthenticationTest, Unauthorized) { MockAuthenticator* authenticator = new MockAuthenticator(); setAuthenticator("realm", Owned<Authenticator>(authenticator)); @@ -1277,7 +1278,7 @@ TEST_F(HttpAuthenticationTest, Unauthorized) // Tests that an authentication Forbidden result is exposed correctly. -TEST_F(HttpAuthenticationTest, Forbidden) +TEST_F(DISABLED_HttpAuthenticationTest, Forbidden) { MockAuthenticator* authenticator = new MockAuthenticator(); setAuthenticator("realm", Owned<Authenticator>(authenticator)); @@ -1298,7 +1299,7 @@ TEST_F(HttpAuthenticationTest, Forbidden) // Tests that a successful authentication hits the endpoint. -TEST_F(HttpAuthenticationTest, Authenticated) +TEST_F(DISABLED_HttpAuthenticationTest, Authenticated) { MockAuthenticator* authenticator = new MockAuthenticator(); setAuthenticator("realm", Owned<Authenticator>(authenticator)); @@ -1325,7 +1326,7 @@ TEST_F(HttpAuthenticationTest, Authenticated) // Tests that HTTP pipelining is respected even when // authentications are satisfied out-of-order. -TEST_F(HttpAuthenticationTest, Pipelining) +TEST_F(DISABLED_HttpAuthenticationTest, Pipelining) { MockAuthenticator* authenticator = new MockAuthenticator(); setAuthenticator("realm", Owned<Authenticator>(authenticator));
