Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id BEA62200B67 for ; Mon, 11 Jul 2016 19:32:07 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id BBCDF160A85; Mon, 11 Jul 2016 17:32:07 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 0298D160A7D for ; Mon, 11 Jul 2016 19:32:06 +0200 (CEST) Received: (qmail 87785 invoked by uid 500); 11 Jul 2016 17:32:06 -0000 Mailing-List: contact commits-help@mesos.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@mesos.apache.org Delivered-To: mailing list commits@mesos.apache.org Received: (qmail 87682 invoked by uid 99); 11 Jul 2016 17:32:06 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 11 Jul 2016 17:32:06 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id 02EDFE03C0; Mon, 11 Jul 2016 17:32:05 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: alexr@apache.org To: commits@mesos.apache.org Date: Mon, 11 Jul 2016 17:32:07 -0000 Message-Id: <15b8478781a2417abcc07011f0e714a5@git.apache.org> In-Reply-To: <5c5b4ade01cf40cd86d346427229d18f@git.apache.org> References: <5c5b4ade01cf40cd86d346427229d18f@git.apache.org> X-Mailer: ASF-Git Admin Mailer Subject: [3/4] mesos git commit: Fixed typos in comments in allocator-related tests. archived-at: Mon, 11 Jul 2016 17:32:07 -0000 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 Authored: Mon Jul 11 19:02:53 2016 +0200 Committer: Alexander Rukletsov 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, "*"));