You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mesos.apache.org by vi...@apache.org on 2016/07/06 18:26:31 UTC
[2/4] mesos git commit: Renamed incorrect variable name in
authorization tests.
Renamed incorrect variable name in authorization tests.
Review: https://reviews.apache.org/r/49698/
Project: http://git-wip-us.apache.org/repos/asf/mesos/repo
Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/1f2555ab
Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/1f2555ab
Diff: http://git-wip-us.apache.org/repos/asf/mesos/diff/1f2555ab
Branch: refs/heads/master
Commit: 1f2555abc4596fcb93fe60da3d676f73722940a2
Parents: 9113bad
Author: Joerg Schad <jo...@mesosphere.io>
Authored: Wed Jul 6 13:26:02 2016 -0500
Committer: Vinod Kone <vi...@gmail.com>
Committed: Wed Jul 6 13:26:02 2016 -0500
----------------------------------------------------------------------
src/tests/master_authorization_tests.cpp | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/mesos/blob/1f2555ab/src/tests/master_authorization_tests.cpp
----------------------------------------------------------------------
diff --git a/src/tests/master_authorization_tests.cpp b/src/tests/master_authorization_tests.cpp
index 21a65c4..3632042 100644
--- a/src/tests/master_authorization_tests.cpp
+++ b/src/tests/master_authorization_tests.cpp
@@ -1521,7 +1521,7 @@ TYPED_TEST(MasterAuthorizerTest, FilterFrameworksEndpoint)
// one is allowed to view the tasks.
TYPED_TEST(MasterAuthorizerTest, FilterTasksEndpoint)
{
- const string stateEndpoint = "tasks";
+ const string tasksEndpoint = "tasks";
const string user = "bar";
ACLs acls;
@@ -1649,7 +1649,7 @@ TYPED_TEST(MasterAuthorizerTest, FilterTasksEndpoint)
{
Future<Response> response = http::get(
master.get()->pid,
- stateEndpoint,
+ tasksEndpoint,
None(),
createBasicAuthHeaders(DEFAULT_CREDENTIAL));
@@ -1669,7 +1669,7 @@ TYPED_TEST(MasterAuthorizerTest, FilterTasksEndpoint)
{
Future<Response> response = http::get(
master.get()->pid,
- stateEndpoint,
+ tasksEndpoint,
None(),
createBasicAuthHeaders(DEFAULT_CREDENTIAL_2));