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/03/29 01:10:37 UTC
mesos git commit: Fixed build breakage with CentOS 7.
Repository: mesos
Updated Branches:
refs/heads/master 3b023b7cb -> 4c81f29b4
Fixed build breakage with CentOS 7.
Review: https://reviews.apache.org/r/45403/
Project: http://git-wip-us.apache.org/repos/asf/mesos/repo
Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/4c81f29b
Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/4c81f29b
Diff: http://git-wip-us.apache.org/repos/asf/mesos/diff/4c81f29b
Branch: refs/heads/master
Commit: 4c81f29b4c571ea2c5dc736be485498461744c1c
Parents: 3b023b7
Author: Neil Conway <ne...@gmail.com>
Authored: Mon Mar 28 16:10:23 2016 -0700
Committer: Jie Yu <yu...@gmail.com>
Committed: Mon Mar 28 16:10:23 2016 -0700
----------------------------------------------------------------------
src/tests/persistent_volume_tests.cpp | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/mesos/blob/4c81f29b/src/tests/persistent_volume_tests.cpp
----------------------------------------------------------------------
diff --git a/src/tests/persistent_volume_tests.cpp b/src/tests/persistent_volume_tests.cpp
index 46ac919..aa097c3 100644
--- a/src/tests/persistent_volume_tests.cpp
+++ b/src/tests/persistent_volume_tests.cpp
@@ -388,9 +388,9 @@ TEST_P(PersistentVolumeTest, CreateAndDestroyPersistentVolumes)
if (GetParam() == MOUNT) {
EXPECT_TRUE(os::exists(volume1Path));
- Try<list<string>> files = fs::list(path::join(volume1Path, "*"));
+ Try<list<string>> files = ::fs::list(path::join(volume1Path, "*"));
CHECK_SOME(files);
- EXPECT_EQ(0, files.get().size());
+ EXPECT_EQ(0u, files.get().size());
} else {
EXPECT_FALSE(os::exists(volume1Path));
}
@@ -850,9 +850,9 @@ TEST_P(PersistentVolumeTest, AccessPersistentVolume)
if (GetParam() == MOUNT) {
EXPECT_TRUE(os::exists(volumePath));
- Try<list<string>> files = fs::list(path::join(volumePath, "*"));
+ Try<list<string>> files = ::fs::list(path::join(volumePath, "*"));
CHECK_SOME(files);
- EXPECT_EQ(0, files.get().size());
+ EXPECT_EQ(0u, files.get().size());
} else {
EXPECT_FALSE(os::exists(volumePath));
}