[4/4] mesos git commit: Corrected a typo in slave authorization tests.

2016-05-09 Thread alexr
Corrected a typo in slave authorization tests. Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/0104e734 Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/0104e734 Diff:

[3/4] mesos git commit: Documented the agent '/flags' endpoint.

2016-05-09 Thread alexr
Documented the agent '/flags' endpoint. Review: https://reviews.apache.org/r/46936/ Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/3207c8b8 Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/3207c8b8 Diff:

[2/4] mesos git commit: Documented the agent '/metrics/snapshot' endpoint.

2016-05-09 Thread alexr
Documented the agent '/metrics/snapshot' endpoint. Review: https://reviews.apache.org/r/46935/ Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/8e482f36 Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/8e482f36 Diff:

[1/4] mesos git commit: Added a missing blank line in "slave/http.cpp".

2016-05-09 Thread alexr
Repository: mesos Updated Branches: refs/heads/master 0f25c7b94 -> 0104e7349 Added a missing blank line in "slave/http.cpp". Review: https://reviews.apache.org/r/47116/ Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit:

mesos git commit: Fixed and illustrated process::initialize ordering.

2016-05-09 Thread joris
Repository: mesos Updated Branches: refs/heads/master 0104e7349 -> 628ccd235 Fixed and illustrated process::initialize ordering. Moves `metrics::initialize` below the creation of the `help` process. Adds a comment block to explain the ordering of process creation in `process::initialize`.

[2/3] mesos git commit: Made http::internal::ConnectionProcess a managed Process.

2016-05-09 Thread bmahler
Made http::internal::ConnectionProcess a managed Process. Per the details in MESOS-4658, the `http::Connection` abstraction is prone to the deadlock of `process::wait`ing on itself. This occurs when the `http::internal::ConnectionProcess` exposes a Future on which the caller binds a copy of

[1/3] mesos git commit: Removed side-effects from MetricsTest.SnapshotAuthenticationEnabled.

2016-05-09 Thread bmahler
Repository: mesos Updated Branches: refs/heads/master 628ccd235 -> fa29544c3 Removed side-effects from MetricsTest.SnapshotAuthenticationEnabled. The test was previously adding metrics without removing them, which meant that the test fails when run in repetition. Since this test only cares

[3/3] mesos git commit: Removed misleading return values from process::network::.

2016-05-09 Thread bmahler
Removed misleading return values from process::network::. Some of the methods in the process::network namespace were returning the 0 or -1 return code of the underlying socket system call. These functions will always return 0 when the Try is Some. Review: https://reviews.apache.org/r/47092