Repository: mesos Updated Branches: refs/heads/master 43b33be03 -> 49129bf2a
Fixed typos in test comments. Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/49129bf2 Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/49129bf2 Diff: http://git-wip-us.apache.org/repos/asf/mesos/diff/49129bf2 Branch: refs/heads/master Commit: 49129bf2a6562c905f986b4ab7d3da9c8435dfa9 Parents: 43b33be Author: Neil Conway <neil.con...@gmail.com> Authored: Wed May 24 15:48:45 2017 -0700 Committer: Neil Conway <neil.con...@gmail.com> Committed: Wed May 24 15:48:45 2017 -0700 ---------------------------------------------------------------------- src/tests/containerizer/provisioner_appc_tests.cpp | 4 ++-- src/tests/containerizer/provisioner_docker_tests.cpp | 4 ++-- src/tests/disk_quota_tests.cpp | 2 +- src/tests/http_authentication_tests.cpp | 2 +- src/tests/reservation_tests.cpp | 2 +- src/tests/upgrade_tests.cpp | 2 +- 6 files changed, 8 insertions(+), 8 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/mesos/blob/49129bf2/src/tests/containerizer/provisioner_appc_tests.cpp ---------------------------------------------------------------------- diff --git a/src/tests/containerizer/provisioner_appc_tests.cpp b/src/tests/containerizer/provisioner_appc_tests.cpp index cba83c6..2af5fbd 100644 --- a/src/tests/containerizer/provisioner_appc_tests.cpp +++ b/src/tests/containerizer/provisioner_appc_tests.cpp @@ -84,7 +84,7 @@ namespace tests { * @param name Appc image name. * @param arch Machine architecture(e.g, x86, amd64). * @param os Operating system(e.g, linux). - * @return Appc protobuff message object. + * @return Appc protobuf message object. */ static Image::Appc getAppcImage( const string& name, @@ -664,7 +664,7 @@ public: } private: - // TODO(jojy): Currently hard-codes the images dierctory name. + // TODO(jojy): Currently hard-codes the images directory name. // Consider parameterizing the directory name. This could be done // by removing the 'const' ness of the variable and adding mutator. const string imagesDirName; http://git-wip-us.apache.org/repos/asf/mesos/blob/49129bf2/src/tests/containerizer/provisioner_docker_tests.cpp ---------------------------------------------------------------------- diff --git a/src/tests/containerizer/provisioner_docker_tests.cpp b/src/tests/containerizer/provisioner_docker_tests.cpp index 54b7fba..1decc72 100644 --- a/src/tests/containerizer/provisioner_docker_tests.cpp +++ b/src/tests/containerizer/provisioner_docker_tests.cpp @@ -305,7 +305,7 @@ public: }; -// This tests the store to pull the same image simutanuously. +// This tests the store to pull the same image simultaneously. // This test verifies that the store only calls the puller once // when multiple requests for the same image is in flight. TEST_F(ProvisionerDockerLocalStoreTest, PullingSameImageSimutanuously) @@ -917,7 +917,7 @@ TEST_F(ProvisionerDockerTest, ROOT_INTERNET_CURL_ImageDigest) // This test verifies that if a container image is specified, the // command runs as the specified user 'nobody' and the sandbox of -// the command task is writtable by the specified user. It also +// the command task is writeable by the specified user. It also // verifies that stdout/stderr are owned by the specified user. TEST_F(ProvisionerDockerTest, ROOT_INTERNET_CURL_CommandTaskUser) { http://git-wip-us.apache.org/repos/asf/mesos/blob/49129bf2/src/tests/disk_quota_tests.cpp ---------------------------------------------------------------------- diff --git a/src/tests/disk_quota_tests.cpp b/src/tests/disk_quota_tests.cpp index 9fe2c86..a0a7093 100644 --- a/src/tests/disk_quota_tests.cpp +++ b/src/tests/disk_quota_tests.cpp @@ -291,7 +291,7 @@ TEST_F(DiskQuotaTest, VolumeUsageExceedsQuota) const Offer& offer = offers.get()[0]; - // Create a task that requests a 1 MB persistent volume but atempts + // Create a task that requests a 1 MB persistent volume but attempts // to use 2MB. Resources volume = createPersistentVolume( Megabytes(1), http://git-wip-us.apache.org/repos/asf/mesos/blob/49129bf2/src/tests/http_authentication_tests.cpp ---------------------------------------------------------------------- diff --git a/src/tests/http_authentication_tests.cpp b/src/tests/http_authentication_tests.cpp index 99bc257..f84af7c 100644 --- a/src/tests/http_authentication_tests.cpp +++ b/src/tests/http_authentication_tests.cpp @@ -342,7 +342,7 @@ AuthenticationResult createCombinedForbidden( // // Note: This test relies on the order of invocation of the installed // authenticators. If the `CombinedAuthenticator` is changed in the future to -// call them in a different order, this test must be udpated. +// call them in a different order, this test must be updated. TEST(CombinedAuthenticatorTest, MultipleAuthenticators) { // Create two mock HTTP authenticators to install. http://git-wip-us.apache.org/repos/asf/mesos/blob/49129bf2/src/tests/reservation_tests.cpp ---------------------------------------------------------------------- diff --git a/src/tests/reservation_tests.cpp b/src/tests/reservation_tests.cpp index 4504831..47ccf7f 100644 --- a/src/tests/reservation_tests.cpp +++ b/src/tests/reservation_tests.cpp @@ -206,7 +206,7 @@ TEST_F(ReservationTest, ReserveTwiceWithDoubleValue) &sched, frameworkInfo, master.get()->pid, DEFAULT_CREDENTIAL); // We use the filter explicitly here so that the resources will not - // be filtered (default would be 5 seconods). + // be filtered (default would be 5 seconds). Filters filters; filters.set_refuse_seconds(0); http://git-wip-us.apache.org/repos/asf/mesos/blob/49129bf2/src/tests/upgrade_tests.cpp ---------------------------------------------------------------------- diff --git a/src/tests/upgrade_tests.cpp b/src/tests/upgrade_tests.cpp index 03ca360..b07426f 100644 --- a/src/tests/upgrade_tests.cpp +++ b/src/tests/upgrade_tests.cpp @@ -384,7 +384,7 @@ TEST_F(UpgradeTest, UpgradeSlaveIntoMultiRole) Clock::settle(); // We should be able to receive offers after - // agent capabilities being udpated. + // agent capabilities being updated. AWAIT_READY(offers); ASSERT_FALSE(offers->empty());