From ed70d843df4d4077efd053bd8065bdf26635d239 Mon Sep 17 00:00:00 2001 From: Josh Soref <2119212+jsoref@users.noreply.github.com> Date: Wed, 22 Jun 2022 21:24:12 -0400 Subject: rgw: fix spelling errors * access * acquire * across * algorithm * alternatively * ambiguous * attributes * authenticated * automatically * based * between * beware * bootstrap * bucket * cache * character * check * cleanup * combinations * committed * comparison * compatibility * concurrent * conditions * conjunction * connections * considered * contains * correct * creates * crypto * dependencies * dequeued * dequeuing * derivative * described * determine * deterministic * detritus * discrepancy * display * either way * elements * entirely * entries * error * everything * expected * explicitly * extend * false * fclose * feature * following * foreign * format * forward * functionality * functions * generated * getting * gracefully * happened * hashicorp * healthcheck * hierarchy * however * http * identify * idleness * ignored * incremental * information * initialization * length * locally * macros * malformed * means * mechanism * multipart * multiple * must * namespace * necessary * nonexistent * notifications * occurred * official * outputs * outputted * overridden * ownership * parallelism * partition * passthrough * pause * penguin * perform * permission * populated * position * preferably * prefixes * presumably * previous * print * quadruple * reference * regardless * registry * renewed * request * requires * reshard * resource * result to * satisfy * secret * separate * separator * setting * shouldn't * skipping * some * somehow * something * specific * struct * succeeded * success * successful * successfully * syntax * testing * truncated * unambiguously * unittest * unmodified * unnecessary * valid_action * verifying * versioning * visible * whatever * whenever Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> --- src/test/rgw/CMakeLists.txt | 10 +++++----- src/test/rgw/bucket_notification/api.py | 2 +- src/test/rgw/bucket_notification/test_bn.py | 4 ++-- src/test/rgw/rgw_multi/tests_az.py | 2 +- src/test/rgw/test-ceph-diff-sorted.sh | 2 +- src/test/rgw/test_multi.md | 2 +- src/test/rgw/test_rgw_amqp.cc | 2 +- src/test/rgw/test_rgw_kms.cc | 2 +- src/test/rgw/test_rgw_lua.cc | 4 ++-- src/test/rgw/test_rgw_xml.cc | 2 +- 10 files changed, 16 insertions(+), 16 deletions(-) (limited to 'src/test/rgw') diff --git a/src/test/rgw/CMakeLists.txt b/src/test/rgw/CMakeLists.txt index d6bb3db1c69..dec7ea1c149 100644 --- a/src/test/rgw/CMakeLists.txt +++ b/src/test/rgw/CMakeLists.txt @@ -68,24 +68,24 @@ add_executable(unittest_rgw_bucket_sync_cache test_rgw_bucket_sync_cache.cc) add_ceph_unittest(unittest_rgw_bucket_sync_cache) target_link_libraries(unittest_rgw_bucket_sync_cache ${rgw_libs}) -#unitttest_rgw_period_history +#unittest_rgw_period_history add_executable(unittest_rgw_period_history test_rgw_period_history.cc) add_ceph_unittest(unittest_rgw_period_history) target_link_libraries(unittest_rgw_period_history ${rgw_libs}) -# unitttest_rgw_compression +# unittest_rgw_compression add_executable(unittest_rgw_compression test_rgw_compression.cc $) add_ceph_unittest(unittest_rgw_compression) target_link_libraries(unittest_rgw_compression ${rgw_libs}) -# unitttest_http_manager +# unittest_http_manager add_executable(unittest_http_manager test_http_manager.cc) add_ceph_unittest(unittest_http_manager) target_link_libraries(unittest_http_manager ${rgw_libs}) -# unitttest_rgw_reshard_wait +# unittest_rgw_reshard_wait add_executable(unittest_rgw_reshard_wait test_rgw_reshard_wait.cc) add_ceph_unittest(unittest_rgw_reshard_wait) target_link_libraries(unittest_rgw_reshard_wait ${rgw_libs}) @@ -213,7 +213,7 @@ add_ceph_unittest(unittest_rgw_string) target_include_directories(unittest_rgw_string SYSTEM PRIVATE "${CMAKE_SOURCE_DIR}/src/rgw") -# unitttest_rgw_dmclock_queue +# unittest_rgw_dmclock_queue add_executable(unittest_rgw_dmclock_scheduler test_rgw_dmclock_scheduler.cc $) add_ceph_unittest(unittest_rgw_dmclock_scheduler) target_include_directories(unittest_rgw_dmclock_scheduler diff --git a/src/test/rgw/bucket_notification/api.py b/src/test/rgw/bucket_notification/api.py index 30fce41a1bb..0b53d32c736 100644 --- a/src/test/rgw/bucket_notification/api.py +++ b/src/test/rgw/bucket_notification/api.py @@ -26,7 +26,7 @@ def put_object_tagging(conn, bucket_name, key, tags): def make_request(conn, method, resource, parameters=None, sign_parameters=False, extra_parameters=None): """generic request sending to pubsub radogw - should cover: topics, notificatios and subscriptions + should cover: topics, notifications and subscriptions """ url_params = '' if parameters is not None: diff --git a/src/test/rgw/bucket_notification/test_bn.py b/src/test/rgw/bucket_notification/test_bn.py index 8860df1555e..075d47466a2 100644 --- a/src/test/rgw/bucket_notification/test_bn.py +++ b/src/test/rgw/bucket_notification/test_bn.py @@ -277,7 +277,7 @@ def stop_amqp_receiver(receiver, task): receiver.channel.stop_consuming() log.info('stopping AMQP receiver') except Exception as error: - log.info('failed to gracefuly stop AMQP receiver: %s', str(error)) + log.info('failed to gracefully stop AMQP receiver: %s', str(error)) task.join(5) @@ -487,7 +487,7 @@ def stop_kafka_receiver(receiver, task): receiver.consumer.unsubscribe() receiver.consumer.close() except Exception as error: - log.info('failed to gracefuly stop Kafka receiver: %s', str(error)) + log.info('failed to gracefully stop Kafka receiver: %s', str(error)) def get_ip(): diff --git a/src/test/rgw/rgw_multi/tests_az.py b/src/test/rgw/rgw_multi/tests_az.py index 13ec832a204..7ad708350dc 100644 --- a/src/test/rgw/rgw_multi/tests_az.py +++ b/src/test/rgw/rgw_multi/tests_az.py @@ -192,7 +192,7 @@ def test_az_create_empty_bucket(): def test_az_check_empty_bucket_versioning(): - """ test bucket vesioning with empty bucket """ + """ test bucket versioning with empty bucket """ zones, az_zones = init_env() bucket_name = gen_bucket_name() # create bucket on the non archive zone diff --git a/src/test/rgw/test-ceph-diff-sorted.sh b/src/test/rgw/test-ceph-diff-sorted.sh index dddf4ae1b18..c164e5547f4 100755 --- a/src/test/rgw/test-ceph-diff-sorted.sh +++ b/src/test/rgw/test-ceph-diff-sorted.sh @@ -37,7 +37,7 @@ cuttlefish fox llama octopus -penguine +penguin seal squid whale diff --git a/src/test/rgw/test_multi.md b/src/test/rgw/test_multi.md index f2c1285300e..46bf8e0bfd7 100644 --- a/src/test/rgw/test_multi.md +++ b/src/test/rgw/test_multi.md @@ -14,7 +14,7 @@ Since we use the same entry point file for all tests, running specific tests is ``` $ nosetests test_multi.py: ``` -To run miltiple tests based on wildcard string, use the following format: +To run multiple tests based on wildcard string, use the following format: ``` $ nosetests test_multi.py -m "" ``` diff --git a/src/test/rgw/test_rgw_amqp.cc b/src/test/rgw/test_rgw_amqp.cc index c2297dc2235..a6c76dd2a2c 100644 --- a/src/test/rgw/test_rgw_amqp.cc +++ b/src/test/rgw/test_rgw_amqp.cc @@ -46,7 +46,7 @@ protected: amqp::shutdown(); } - // wait for at least one new (since last drain) message to be dequeueud + // wait for at least one new (since last drain) message to be dequeued // and then wait for all pending answers to be received void wait_until_drained() { while (amqp::get_dequeued() == current_dequeued) { diff --git a/src/test/rgw/test_rgw_kms.cc b/src/test/rgw/test_rgw_kms.cc index aaa4e4174f7..9fc6145d2fe 100644 --- a/src/test/rgw/test_rgw_kms.cc +++ b/src/test/rgw/test_rgw_kms.cc @@ -242,7 +242,7 @@ TEST_F(TestSSEKMS, concat_url) // Each test has 3 strings: // * the base URL // * the path we want to concatenate - // * the exepected final URL + // * the expected final URL std::string tests[9][3] ={ {"", "", ""}, {"", "bar", "/bar"}, diff --git a/src/test/rgw/test_rgw_lua.cc b/src/test/rgw/test_rgw_lua.cc index be9fa6aed16..07f8521c231 100644 --- a/src/test/rgw/test_rgw_lua.cc +++ b/src/test/rgw/test_rgw_lua.cc @@ -706,7 +706,7 @@ TEST(TestRGWLua, UseFunction) { const std::string script = R"( function print_owner(owner) - print("Owner Dispaly Name: " .. owner.DisplayName) + print("Owner Display Name: " .. owner.DisplayName) print("Owner Id: " .. owner.User.Id) print("Owner Tenanet: " .. owner.User.Tenant) end @@ -921,7 +921,7 @@ TEST(TestRGWLuaBackground, RequestScript) pe.lua.background = &lua_background; - // to make sure test is consistent we have to puase the background + // to make sure test is consistent we have to pause the background lua_background.pause(); const auto rc = lua::request::execute(nullptr, nullptr, nullptr, &s, nullptr, request_script); ASSERT_EQ(rc, 0); diff --git a/src/test/rgw/test_rgw_xml.cc b/src/test/rgw/test_rgw_xml.cc index fa9f2115778..a31be59a3c8 100644 --- a/src/test/rgw/test_rgw_xml.cc +++ b/src/test/rgw/test_rgw_xml.cc @@ -376,7 +376,7 @@ TEST(TestDecoder, BasicParsing) ASSERT_STREQ(to_string(result).c_str(), expected_output); } -TEST(TestDecoder, MalfomedInput) +TEST(TestDecoder, MalformedInput) { RGWXMLDecoder::XMLParser parser; ASSERT_TRUE(parser.init()); -- cgit v1.2.3