You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mesos.apache.org by ji...@apache.org on 2016/02/04 01:32:05 UTC

[2/2] mesos git commit: Fixed a compiler warning in reservation test.

Fixed a compiler warning in reservation test.


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

Branch: refs/heads/master
Commit: 089e08c2c09f72c1f816a5bb77fddac3778c66ec
Parents: 21a1d49
Author: Jie Yu <yu...@gmail.com>
Authored: Wed Feb 3 16:29:49 2016 -0800
Committer: Jie Yu <yu...@gmail.com>
Committed: Wed Feb 3 16:29:49 2016 -0800

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


http://git-wip-us.apache.org/repos/asf/mesos/blob/089e08c2/src/tests/reservation_tests.cpp
----------------------------------------------------------------------
diff --git a/src/tests/reservation_tests.cpp b/src/tests/reservation_tests.cpp
index f50ac67..d2ef159 100644
--- a/src/tests/reservation_tests.cpp
+++ b/src/tests/reservation_tests.cpp
@@ -228,7 +228,7 @@ TEST_F(ReservationTest, ReserveTwiceWithDoubleValue)
 
   AWAIT_READY(offers);
 
-  ASSERT_EQ(1, offers.get().size());
+  ASSERT_EQ(1u, offers.get().size());
   offer = offers.get()[0];
 
   // In the second offer, expect an offer with reserved resources.