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 2015/06/11 21:26:35 UTC

mesos git commit: Fixed a compiler warning in slave tests.

Repository: mesos
Updated Branches:
  refs/heads/master 4ebab87d0 -> 7760377dd


Fixed a compiler warning in slave tests.


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

Branch: refs/heads/master
Commit: 7760377ddf48aae80cc275d6cdfa34a75e2f9d13
Parents: 4ebab87
Author: Jie Yu <yu...@gmail.com>
Authored: Thu Jun 11 12:26:29 2015 -0700
Committer: Jie Yu <yu...@gmail.com>
Committed: Thu Jun 11 12:26:29 2015 -0700

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


http://git-wip-us.apache.org/repos/asf/mesos/blob/7760377d/src/tests/slave_tests.cpp
----------------------------------------------------------------------
diff --git a/src/tests/slave_tests.cpp b/src/tests/slave_tests.cpp
index 70fc42d..8dae6e0 100644
--- a/src/tests/slave_tests.cpp
+++ b/src/tests/slave_tests.cpp
@@ -1822,7 +1822,7 @@ TEST_F(SlaveTest, ContainerizerUsageFailure)
   Future<ResourceUsage> usage = slave.usage();
 
   AWAIT_READY(usage);
-  ASSERT_EQ(1u, usage.get().executors_size());
+  ASSERT_EQ(1, usage.get().executors_size());
   EXPECT_FALSE(usage.get().executors(0).has_statistics());
 
   driver.stop();