You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mesos.apache.org by ya...@apache.org on 2016/11/10 00:36:06 UTC
mesos git commit: Fix test
ROOT_WriteAccessSharedPersistentVolumeReadOnlyMode.
Repository: mesos
Updated Branches:
refs/heads/master 5f228a2e3 -> b981987de
Fix test ROOT_WriteAccessSharedPersistentVolumeReadOnlyMode.
Added SHARED_RESOURCES capability to the framework since it creates
a shared persistent volume in this test.
Review: https://reviews.apache.org/r/53636/
Project: http://git-wip-us.apache.org/repos/asf/mesos/repo
Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/b981987d
Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/b981987d
Diff: http://git-wip-us.apache.org/repos/asf/mesos/diff/b981987d
Branch: refs/heads/master
Commit: b981987de6e843955f165e15f248d6e1e07f88c4
Parents: 5f228a2
Author: Anindya Sinha <an...@apple.com>
Authored: Wed Nov 9 10:26:17 2016 -0800
Committer: Jiang Yan Xu <xu...@apple.com>
Committed: Wed Nov 9 16:35:17 2016 -0800
----------------------------------------------------------------------
src/tests/containerizer/linux_filesystem_isolator_tests.cpp | 2 ++
1 file changed, 2 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/mesos/blob/b981987d/src/tests/containerizer/linux_filesystem_isolator_tests.cpp
----------------------------------------------------------------------
diff --git a/src/tests/containerizer/linux_filesystem_isolator_tests.cpp b/src/tests/containerizer/linux_filesystem_isolator_tests.cpp
index 50b951d..24d1a69 100644
--- a/src/tests/containerizer/linux_filesystem_isolator_tests.cpp
+++ b/src/tests/containerizer/linux_filesystem_isolator_tests.cpp
@@ -1452,6 +1452,8 @@ TEST_F(LinuxFilesystemIsolatorMesosTest,
MockScheduler sched;
FrameworkInfo frameworkInfo = DEFAULT_FRAMEWORK_INFO;
frameworkInfo.set_role("role1");
+ frameworkInfo.add_capabilities()->set_type(
+ FrameworkInfo::Capability::SHARED_RESOURCES);
MesosSchedulerDriver driver(
&sched,