You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mesos.apache.org by an...@apache.org on 2017/02/02 15:14:37 UTC
mesos git commit: Minor fix to a disabled test to use the new request
streaming headers.
Repository: mesos
Updated Branches:
refs/heads/master 8dffd1a47 -> f179400b1
Minor fix to a disabled test to use the new request streaming headers.
This test was missed as part of the cleanup for MESOS-6936.
Project: http://git-wip-us.apache.org/repos/asf/mesos/repo
Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/f179400b
Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/f179400b
Diff: http://git-wip-us.apache.org/repos/asf/mesos/diff/f179400b
Branch: refs/heads/master
Commit: f179400b15ab18a9d315a7c48d0325b6fb0e66ae
Parents: 8dffd1a
Author: Anand Mazumdar <an...@apache.org>
Authored: Thu Feb 2 07:10:55 2017 -0800
Committer: Anand Mazumdar <an...@apache.org>
Committed: Thu Feb 2 07:13:22 2017 -0800
----------------------------------------------------------------------
src/tests/containerizer/io_switchboard_tests.cpp | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/mesos/blob/f179400b/src/tests/containerizer/io_switchboard_tests.cpp
----------------------------------------------------------------------
diff --git a/src/tests/containerizer/io_switchboard_tests.cpp b/src/tests/containerizer/io_switchboard_tests.cpp
index 9c02564..c3bc6c0 100644
--- a/src/tests/containerizer/io_switchboard_tests.cpp
+++ b/src/tests/containerizer/io_switchboard_tests.cpp
@@ -525,7 +525,8 @@ TEST_F(IOSwitchboardServerTest, DISABLED_AttachInput)
request.url.path = "/";
request.keepAlive = true;
request.headers["Accept"] = APPLICATION_JSON;
- request.headers["Content-Type"] = APPLICATION_JSON;
+ request.headers["Content-Type"] = APPLICATION_RECORDIO;
+ request.headers[MESSAGE_CONTENT_TYPE] = APPLICATION_JSON;
Try<unix::Address> address = unix::Address::create(socketPath);
ASSERT_SOME(address);