This is an automated email from the ASF dual-hosted git repository.
jpeach pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/mesos.git
The following commit(s) were added to refs/heads/master by this push:
new b485f18 Ensure that the `linux/nnp` isolator tests run as root.
b485f18 is described below
commit b485f1883ac3a11212de887d08b9df4966557e8f
Author: James Peach <[email protected]>
AuthorDate: Sun Jul 21 22:02:32 2019 -0700
Ensure that the `linux/nnp` isolator tests run as root.
---
src/tests/containerizer/linux_nnp_isolator_tests.cpp | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/tests/containerizer/linux_nnp_isolator_tests.cpp
b/src/tests/containerizer/linux_nnp_isolator_tests.cpp
index 8489daf..4d8bce1 100644
--- a/src/tests/containerizer/linux_nnp_isolator_tests.cpp
+++ b/src/tests/containerizer/linux_nnp_isolator_tests.cpp
@@ -60,6 +60,7 @@ protected:
flags.docker_registry = GetRegistryPath();
flags.docker_store_dir = path::join(sandbox.get(), "store");
flags.image_providers = "docker";
+ flags.launcher = "linux";
return flags;
}
@@ -72,7 +73,7 @@ protected:
// Check that the PR_NO_NEW_PRIVILEGES flag is set.
-TEST_F(LinuxNNPIsolatorTest, CheckNoNewPrivileges)
+TEST_F(LinuxNNPIsolatorTest, ROOT_CheckNoNewPrivileges)
{
// This tests requires the NoNewPrivs field present in process
// status fields which requires Linux kernel version greater than