mesos-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tnac...@apache.org
Subject mesos git commit: Disable SharedFilesystemIsolator tests.
Date Wed, 15 Jul 2015 19:31:05 GMT
Repository: mesos
Updated Branches:
  refs/heads/master 4e1f9a9e1 -> 7515cc9de


Disable SharedFilesystemIsolator tests.

Review: https://reviews.apache.org/r/36517


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

Branch: refs/heads/master
Commit: 7515cc9de2426ef80b50635a58e9c1442975fb59
Parents: 4e1f9a9
Author: Timothy Chen <tnachen@apache.org>
Authored: Wed Jul 15 11:29:31 2015 -0700
Committer: Timothy Chen <tnachen@apache.org>
Committed: Wed Jul 15 12:30:56 2015 -0700

----------------------------------------------------------------------
 src/tests/isolator_tests.cpp | 14 ++++++++++++--
 1 file changed, 12 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/mesos/blob/7515cc9d/src/tests/isolator_tests.cpp
----------------------------------------------------------------------
diff --git a/src/tests/isolator_tests.cpp b/src/tests/isolator_tests.cpp
index 8eb732f..b63a9cc 100644
--- a/src/tests/isolator_tests.cpp
+++ b/src/tests/isolator_tests.cpp
@@ -908,7 +908,12 @@ class SharedFilesystemIsolatorTest : public MesosTest {};
 // directory (/var/tmp). Check that a file written by a process inside
 // the container doesn't appear on the host filesystem but does appear
 // under the container's work directory.
-TEST_F(SharedFilesystemIsolatorTest, ROOT_RelativeVolume)
+// This test is disabled since we're planning to remove the shared
+// filesystem isolator and this test is not working on other distros
+// such as CentOS 7.1
+// TODO(tnachen): Remove this test when shared filesystem isolator
+// is removed.
+TEST_F(SharedFilesystemIsolatorTest, DISABLED_ROOT_RelativeVolume)
 {
   slave::Flags flags = CreateSlaveFlags();
   flags.isolation = "filesystem/shared";
@@ -1009,7 +1014,12 @@ TEST_F(SharedFilesystemIsolatorTest, ROOT_RelativeVolume)
 }
 
 
-TEST_F(SharedFilesystemIsolatorTest, ROOT_AbsoluteVolume)
+// This test is disabled since we're planning to remove the shared
+// filesystem isolator and this test is not working on other distros
+// such as CentOS 7.1
+// TODO(tnachen): Remove this test when shared filesystem isolator
+// is removed.
+TEST_F(SharedFilesystemIsolatorTest, DISABLED_ROOT_AbsoluteVolume)
 {
   slave::Flags flags = CreateSlaveFlags();
   flags.isolation = "filesystem/shared";


Mime
View raw message