You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mesos.apache.org by dm...@apache.org on 2015/02/05 19:20:40 UTC
mesos git commit: Fix unsigned/signed comparison in master_tests
Repository: mesos
Updated Branches:
refs/heads/master 2f10e79bc -> 6f20918f3
Fix unsigned/signed comparison in master_tests
Review: https://reviews.apache.org/r/30678
Project: http://git-wip-us.apache.org/repos/asf/mesos/repo
Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/6f20918f
Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/6f20918f
Diff: http://git-wip-us.apache.org/repos/asf/mesos/diff/6f20918f
Branch: refs/heads/master
Commit: 6f20918f395ce1dff1cefbba35323911707db177
Parents: 2f10e79
Author: Dominic Hamon <dm...@twitter.com>
Authored: Thu Feb 5 09:46:55 2015 -0800
Committer: Dominic Hamon <dm...@twitter.com>
Committed: Thu Feb 5 09:48:06 2015 -0800
----------------------------------------------------------------------
src/tests/master_tests.cpp | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/mesos/blob/6f20918f/src/tests/master_tests.cpp
----------------------------------------------------------------------
diff --git a/src/tests/master_tests.cpp b/src/tests/master_tests.cpp
index 3cb7660..e604188 100644
--- a/src/tests/master_tests.cpp
+++ b/src/tests/master_tests.cpp
@@ -2881,7 +2881,7 @@ TEST_F(MasterTest, TaskDiscoveryInfo)
EXPECT_SOME(portsArray);
JSON::Array portsArray_ = portsArray.get();
- EXPECT_EQ(2, portsArray_.values.size());
+ EXPECT_EQ(2u, portsArray_.values.size());
// Verify the content of '8888:myport1:tcp' port.
Try<JSON::Value> expected = JSON::parse(
@@ -2909,7 +2909,7 @@ TEST_F(MasterTest, TaskDiscoveryInfo)
EXPECT_SOME(labelsArray);
JSON::Array labelsArray_ = labelsArray.get();
- EXPECT_EQ(2, labelsArray_.values.size());
+ EXPECT_EQ(2u, labelsArray_.values.size());
// Verify the content of 'clearance:high' pair.
expected = JSON::parse(