mesos-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From al...@apache.org
Subject [3/4] mesos git commit: Fixed typos in comments in allocator-related tests.
Date Mon, 11 Jul 2016 17:32:07 GMT
Fixed typos in comments in allocator-related tests.

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


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

Branch: refs/heads/master
Commit: 0434858c88cfe7b4f71b763f8ab456188c857293
Parents: cf6d64a
Author: Neil Conway <neil.conway@gmail.com>
Authored: Mon Jul 11 19:02:53 2016 +0200
Committer: Alexander Rukletsov <alexr@apache.org>
Committed: Mon Jul 11 19:02:53 2016 +0200

----------------------------------------------------------------------
 src/tests/hierarchical_allocator_tests.cpp | 2 +-
 src/tests/master_allocator_tests.cpp       | 6 +++---
 2 files changed, 4 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/mesos/blob/0434858c/src/tests/hierarchical_allocator_tests.cpp
----------------------------------------------------------------------
diff --git a/src/tests/hierarchical_allocator_tests.cpp b/src/tests/hierarchical_allocator_tests.cpp
index aa1e45b..472c82f 100644
--- a/src/tests/hierarchical_allocator_tests.cpp
+++ b/src/tests/hierarchical_allocator_tests.cpp
@@ -2570,7 +2570,7 @@ TEST_F(HierarchicalAllocatorTest, SuppressAndReviveOffers)
   // framework's redundant REVIVE calls.
   allocator->reviveOffers(framework.id());
 
-  // Nothing is allocated because of no additinal resources.
+  // Nothing is allocated because of no additional resources.
   allocation = allocations.get();
   EXPECT_TRUE(allocation.isPending());
 

http://git-wip-us.apache.org/repos/asf/mesos/blob/0434858c/src/tests/master_allocator_tests.cpp
----------------------------------------------------------------------
diff --git a/src/tests/master_allocator_tests.cpp b/src/tests/master_allocator_tests.cpp
index 4beebff..32e3a46 100644
--- a/src/tests/master_allocator_tests.cpp
+++ b/src/tests/master_allocator_tests.cpp
@@ -427,7 +427,7 @@ TYPED_TEST(MasterAllocatorTest, SchedulerFailover)
   EXPECT_CALL(sched1, resourceOffers(_, _))
     .WillRepeatedly(DeclineOffers()); // For subsequent offers.
 
-  // Initially, all of slave1's resources are avaliable.
+  // Initially, all of slave1's resources are available.
   EXPECT_CALL(sched1, resourceOffers(_, OfferEq(3, 1024)))
     .WillOnce(LaunchTasks(DEFAULT_EXECUTOR_INFO, 1, 1, 256, "*"));
 
@@ -556,7 +556,7 @@ TYPED_TEST(MasterAllocatorTest, FrameworkExited)
     .WillRepeatedly(DeclineOffers());
 
   // The first time the framework is offered resources, all of the
-  // cluster's resources should be avaliable.
+  // cluster's resources should be available.
   EXPECT_CALL(sched1, resourceOffers(_, OfferEq(3, 1024)))
     .WillOnce(LaunchTasks(executor1, 1, 2, 512, "*"));
 
@@ -815,7 +815,7 @@ TYPED_TEST(MasterAllocatorTest, SlaveAdded)
   EXPECT_CALL(sched, resourceOffers(_, _))
     .WillRepeatedly(DeclineOffers());
 
-  // Initially, all of slave1's resources are avaliable.
+  // Initially, all of slave1's resources are available.
   EXPECT_CALL(sched, resourceOffers(_, OfferEq(3, 1024)))
     .WillOnce(LaunchTasks(DEFAULT_EXECUTOR_INFO, 1, 2, 512, "*"));
 


Mime
View raw message