You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mesos.apache.org by me...@apache.org on 2016/02/10 02:41:47 UTC

mesos git commit: Clarified a comment that occurs in several test cases.

Repository: mesos
Updated Branches:
  refs/heads/master b8eb2d86f -> 062da2966


Clarified a comment that occurs in several test cases.

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


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

Branch: refs/heads/master
Commit: 062da2966c739ef45a04941cd7dffb38a367f57e
Parents: b8eb2d8
Author: Neil Conway <ne...@gmail.com>
Authored: Tue Feb 9 17:40:42 2016 -0800
Committer: Adam B <ad...@mesosphere.io>
Committed: Tue Feb 9 17:40:42 2016 -0800

----------------------------------------------------------------------
 src/tests/containerizer/filesystem_isolator_tests.cpp |  2 +-
 src/tests/persistent_volume_tests.cpp                 | 10 +++++-----
 src/tests/reservation_endpoints_tests.cpp             |  2 +-
 3 files changed, 7 insertions(+), 7 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/mesos/blob/062da296/src/tests/containerizer/filesystem_isolator_tests.cpp
----------------------------------------------------------------------
diff --git a/src/tests/containerizer/filesystem_isolator_tests.cpp b/src/tests/containerizer/filesystem_isolator_tests.cpp
index bec4966..d8c3c81 100644
--- a/src/tests/containerizer/filesystem_isolator_tests.cpp
+++ b/src/tests/containerizer/filesystem_isolator_tests.cpp
@@ -538,7 +538,7 @@ TEST_F(LinuxFilesystemIsolatorTest,
       "path1");
 
   // We use the filter explicitly here so that the resources will not
-  // be filtered for 5 seconds (by default).
+  // be filtered for 5 seconds (the default).
   Filters filters;
   filters.set_refuse_seconds(0);
 

http://git-wip-us.apache.org/repos/asf/mesos/blob/062da296/src/tests/persistent_volume_tests.cpp
----------------------------------------------------------------------
diff --git a/src/tests/persistent_volume_tests.cpp b/src/tests/persistent_volume_tests.cpp
index cbf2bce..e169e1b 100644
--- a/src/tests/persistent_volume_tests.cpp
+++ b/src/tests/persistent_volume_tests.cpp
@@ -221,7 +221,7 @@ TEST_P(PersistentVolumeTest, SendingCheckpointResourcesMessage)
       None());
 
   // We use the filter explicitly here so that the resources will not
-  // be filtered for 5 seconds (by default).
+  // be filtered for 5 seconds (the default).
   Filters filters;
   filters.set_refuse_seconds(0);
 
@@ -842,7 +842,7 @@ TEST_P(PersistentVolumeTest, GoodACLCreateThenDestroy)
       DEFAULT_CREDENTIAL.principal());
 
   // We use the filter explicitly here so that the resources will not
-  // be filtered for 5 seconds (by default).
+  // be filtered for 5 seconds (the default).
   Filters filters;
   filters.set_refuse_seconds(0);
 
@@ -985,7 +985,7 @@ TEST_P(PersistentVolumeTest, GoodACLNoPrincipal)
   destroy->mutable_creator_principals()->set_type(mesos::ACL::Entity::ANY);
 
   // We use the filter explicitly here so that the resources will not be
-  // filtered for 5 seconds (by default).
+  // filtered for 5 seconds (the default).
   Filters filters;
   filters.set_refuse_seconds(0);
 
@@ -1133,7 +1133,7 @@ TEST_P(PersistentVolumeTest, BadACLNoPrincipal)
   create2->mutable_volume_types()->set_type(mesos::ACL::Entity::NONE);
 
   // We use this filter so that resources will not
-  // be filtered for 5 seconds (by default).
+  // be filtered for 5 seconds (the default).
   Filters filters;
   filters.set_refuse_seconds(0);
 
@@ -1333,7 +1333,7 @@ TEST_P(PersistentVolumeTest, BadACLDropCreateAndDestroy)
   create->mutable_volume_types()->set_type(mesos::ACL::Entity::NONE);
 
   // We use the filter explicitly here so that the resources will not
-  // be filtered for 5 seconds (by default).
+  // be filtered for 5 seconds (the default).
   Filters filters;
   filters.set_refuse_seconds(0);
 

http://git-wip-us.apache.org/repos/asf/mesos/blob/062da296/src/tests/reservation_endpoints_tests.cpp
----------------------------------------------------------------------
diff --git a/src/tests/reservation_endpoints_tests.cpp b/src/tests/reservation_endpoints_tests.cpp
index b560af0..0a8c479 100644
--- a/src/tests/reservation_endpoints_tests.cpp
+++ b/src/tests/reservation_endpoints_tests.cpp
@@ -1195,7 +1195,7 @@ TEST_F(ReservationEndpointsTest, ReserveAndUnreserveNoAuthentication)
   Offer offer = offers.get()[0];
 
   // We use this filter so that resources will not
-  // be filtered for 5 seconds (by default).
+  // be filtered for 5 seconds (the default).
   Filters filters;
   filters.set_refuse_seconds(0);