Repository: mesos
Updated Branches:
  refs/heads/master 202dacdd8 -> 5f8c7dc09


TemporaryDirectoryTest Merge: Elevate `TemporaryDirectoryTest::sandbox`
from private to protected.

Some tests, such as those in `provisioner_backend_tests.cpp`, need to
refer to the `sandbox` variable during their tear down.

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


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

Branch: refs/heads/master
Commit: c10391f67b0aa6fc975c887880dfe3cbb865b79c
Parents: 202dacd
Author: Joseph Wu <[email protected]>
Authored: Fri Nov 6 16:14:36 2015 -0800
Committer: Jie Yu <[email protected]>
Committed: Fri Nov 6 16:14:36 2015 -0800

----------------------------------------------------------------------
 .../libprocess/3rdparty/stout/include/stout/tests/utils.hpp     | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/mesos/blob/c10391f6/3rdparty/libprocess/3rdparty/stout/include/stout/tests/utils.hpp
----------------------------------------------------------------------
diff --git a/3rdparty/libprocess/3rdparty/stout/include/stout/tests/utils.hpp 
b/3rdparty/libprocess/3rdparty/stout/include/stout/tests/utils.hpp
index 8934ba7..141003c 100644
--- a/3rdparty/libprocess/3rdparty/stout/include/stout/tests/utils.hpp
+++ b/3rdparty/libprocess/3rdparty/stout/include/stout/tests/utils.hpp
@@ -53,9 +53,12 @@ protected:
     }
   }
 
+  // A temporary directory for test purposes.
+  // Not to be confused with the "sandbox" that tasks are run in.
+  Option<std::string> sandbox;
+
 private:
   std::string cwd;
-  Option<std::string> sandbox;
 };
 
 #endif // __STOUT_TESTS_UTILS_HPP__

Reply via email to