You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mesos.apache.org by al...@apache.org on 2016/11/10 13:39:03 UTC

mesos git commit: Fixed the test build error.

Repository: mesos
Updated Branches:
  refs/heads/0.28.x c12e390e5 -> d1fffb46e


Fixed the test build error.


Project: http://git-wip-us.apache.org/repos/asf/mesos/repo
Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/d1fffb46
Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/d1fffb46
Diff: http://git-wip-us.apache.org/repos/asf/mesos/diff/d1fffb46

Branch: refs/heads/0.28.x
Commit: d1fffb46e633571a5c000afd6e81d1706adc6502
Parents: c12e390
Author: Alexander Rukletsov <al...@apache.org>
Authored: Thu Nov 10 14:39:59 2016 +0100
Committer: Alexander Rukletsov <al...@apache.org>
Committed: Thu Nov 10 14:39:59 2016 +0100

----------------------------------------------------------------------
 src/tests/master_validation_tests.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/mesos/blob/d1fffb46/src/tests/master_validation_tests.cpp
----------------------------------------------------------------------
diff --git a/src/tests/master_validation_tests.cpp b/src/tests/master_validation_tests.cpp
index 1f088c7..543a566 100644
--- a/src/tests/master_validation_tests.cpp
+++ b/src/tests/master_validation_tests.cpp
@@ -272,7 +272,7 @@ TEST_F(ReserveOperationValidationTest, FrameworkMissingPrincipal)
   Offer::Operation::Reserve reserve;
   reserve.add_resources()->CopyFrom(resource);
 
-  EXPECT_SOME(operation::validate(reserve, None()));
+  EXPECT_SOME(operation::validate(reserve, None(), "role"));
 }