Repository: mesos Updated Branches: refs/heads/master 7e7335b5d -> 3e20aa8ab
Fixed an error message dependent test `AgentHierarchicalRoleCapability`. Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/3e20aa8a Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/3e20aa8a Diff: http://git-wip-us.apache.org/repos/asf/mesos/diff/3e20aa8a Branch: refs/heads/master Commit: 3e20aa8abfbae5d92748450c147b44ec31a1bc80 Parents: 7e7335b Author: Michael Park <[email protected]> Authored: Tue Jun 20 19:52:59 2017 -0700 Committer: Michael Park <[email protected]> Committed: Tue Jun 20 19:56:56 2017 -0700 ---------------------------------------------------------------------- src/tests/master_validation_tests.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/mesos/blob/3e20aa8a/src/tests/master_validation_tests.cpp ---------------------------------------------------------------------- diff --git a/src/tests/master_validation_tests.cpp b/src/tests/master_validation_tests.cpp index 9f3857b..813fb25 100644 --- a/src/tests/master_validation_tests.cpp +++ b/src/tests/master_validation_tests.cpp @@ -1022,7 +1022,7 @@ TEST_F(CreateOperationValidationTest, AgentHierarchicalRoleCapability) ASSERT_SOME(error); EXPECT_TRUE(strings::contains( error->message, - "with reservation for hierarchical role 'foo/bar' cannot be reserved " + "with reservation for hierarchical role 'foo/bar' cannot be created " "on an agent without HIERARCHICAL_ROLE capability")); } }
